From 36667484ebcef282aff4aa57db5714e2b82b27bf Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 5 Nov 2016 02:26:06 +0330 Subject: now builds lvl mutation source file --- makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 707f9a5..3a68217 100644 --- a/makefile +++ b/makefile @@ -22,22 +22,26 @@ CXX_FLAGS+=$(EXTRA_CXX_FALGS) LD_FLAGS+=$(EXTRA_LD_FLAGS) TARGET=mutator +TARGET2=mutator-lvl2 ######################################RULES#################################### .DEFAULT: all .PHONY:all clean help -all: $(TARGET) +all: $(TARGET) $(TARGET2) -.cpp.o: mutator.cpp mutator_aux.cpp mutator_aux.h +.cpp.o: mutator.cpp mutator-lvl2.cpp mutator_aux.cpp mutator_aux.h $(CXX) $(CXX_FLAGS) -c $< -o $@ $(TARGET): $(TARGET).o mutator_aux.o $(CXX) $? $(LD_FLAGS) -o $@ +$(TARGET2): $(TARGET2).o mutator_aux.o + $(CXX) $? $(LD_FLAGS) -o $@ + clean: - rm -f *.o *~ $(TARGET) + rm -f *.o *~ $(TARGET) $(TARGET2) help: @echo 'there is help.' -- cgit v1.2.3