You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
215 B

FILES=Buffer.o FileBrowser.o main.o
DIRS=bin obj
OBJS=$(addprefix obj/,$(FILES))
bin/FileBrowser: $(OBJS) | bin
$(CXX) $(OBJS) -o $@
$(OBJS): | obj
$(DIRS):
mkdir $@ || true
obj/%.o: src/%.cpp
$(CXX) $^ -c -o $@