Browse Source

Add Makefile

grissess
Graham Northup 4 years ago
parent
commit
bdb8b26e05
Signed by untrusted user: grissess GPG Key ID: 5D000E6F539376FB
  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: bin $(OBJS)
$(CXX) $(OBJS) -o $@
$(OBJS): obj
$(DIRS):
mkdir $@ || true
obj/%.o: src/%.cpp
$(CXX) $^ -c -o $@
Loading…
Cancel
Save