diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-04 22:56:06 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-04 22:56:06 +0000 |
commit | 36667484ebcef282aff4aa57db5714e2b82b27bf (patch) | |
tree | 29f380079cf83964e6ef99da6601aad683d37fc2 /makefile | |
parent | lvl 2 mutattions. (diff) | |
download | mutator-36667484ebcef282aff4aa57db5714e2b82b27bf.tar.gz mutator-36667484ebcef282aff4aa57db5714e2b82b27bf.zip |
now builds lvl mutation source file
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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.' |