Browse Source

Improved Makefile

Now doesn't try to link a directory into the compiler command line
grissess
Graham Northup 3 years ago
parent
commit
c8e1642220
Signed by untrusted user: grissess GPG Key ID: 5D000E6F539376FB
  1. 4
      Makefile

4
Makefile

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

Loading…
Cancel
Save