From 8e9cc64155aac9f8a8c471d5b74b563658cb34cd Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 19 Nov 2016 21:42:27 +0330 Subject: fixed a problem with build all. --- makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index d637bda..52d020d 100644 --- a/makefile +++ b/makefile @@ -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) -- cgit v1.2.3