diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-19 18:12:27 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-19 18:12:27 +0000 |
commit | 8e9cc64155aac9f8a8c471d5b74b563658cb34cd (patch) | |
tree | 61901f87b005ca5df5a4aeea79c2baba5c25a0cf | |
parent | minor change in the clean command and where build artefacts and outputs are s... (diff) | |
download | mutator-8e9cc64155aac9f8a8c471d5b74b563658cb34cd.tar.gz mutator-8e9cc64155aac9f8a8c471d5b74b563658cb34cd.zip |
fixed a problem with build all.
-rw-r--r-- | makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -32,17 +32,17 @@ TARGET2=mutator-lvl2 all: $(TARGET) $(TARGET2) $(TARGET0) -.cpp.o: mutator.cpp mutator-lvl2.cpp mutator-lvl0.cpp mutator_aux.cpp mutator_aux.h +.cpp.o: $(CXX) $(CXX_FLAGS) -c $< -o $@ $(TARGET): $(TARGET).o mutator_aux.o - $(CXX) $? $(LD_FLAGS) -o $@ + $(CXX) $^ $(LD_FLAGS) -o $@ $(TARGET2): $(TARGET2).o mutator_aux.o - $(CXX) $? $(LD_FLAGS) -o $@ + $(CXX) $^ $(LD_FLAGS) -o $@ $(TARGET0): $(TARGET0).o mutator_aux.o - $(CXX) $? $(LD_FLAGS) -o $@ + $(CXX) $^ $(LD_FLAGS) -o $@ clean: rm -f *.o *~ $(TARGET0) $(TARGET) $(TARGET2) |