Compare commits

...

2 Commits

Author SHA1 Message Date
Graham Northup c8e1642220
Improved Makefile 4 years ago
Graham Northup bdb8b26e05
Add Makefile 4 years ago
  1. 10
      Makefile

10
Makefile

@ -0,0 +1,10 @@
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 $@
Loading…
Cancel
Save