diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2015-05-11 21:24:57 +0200 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2015-05-11 21:24:57 +0200 |
commit | ce356164bac0f739fea97b8bee61c066b9f2ae87 (patch) | |
tree | bf73239c76e0288de9378f06c322766889ef1fb9 /Makefile | |
parent | bfd76241386fe54c4394171c861f4b1676b5bf32 (diff) |
Add <<debug<< log, clean up some code and let find return a list instead of 1 element
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -4,7 +4,7 @@ CFLAGS=-Wall -O2 CPPFLAGS=-Wall -O2 -std=c++11 BINARIES=engine -OBJS=enginedata.o +OBJS=enginedata.o util.o DEPFILES=$(OBJS:.o=.d) @@ -19,12 +19,12 @@ clean: -include $(OBJS:.o=.d) -engine: engine.cpp enginedata.o +engine: engine.cpp enginedata.o util.o $(CXX) $(CPPFLAGS) -o $@ $^ -#enginedata: enginedata.cpp enginedata.h -# $(CXX) $(CPPFLAGS) -o %@ enginedata.cpp +enginedata: enginedata.cpp enginedata.h util.o + $(CXX) $(CPPFLAGS) -o %@ enginedata.cpp -%.o: %.cpp +%.o: %.cpp %.h $(CXX) $(CPPFLAGS) $*.cpp -c -o $*.o $(CXX) -MM $(CPPFLAGS) $*.cpp > $*.d |