aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-04 22:56:06 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-04 22:56:06 +0000
commit36667484ebcef282aff4aa57db5714e2b82b27bf (patch)
tree29f380079cf83964e6ef99da6601aad683d37fc2 /makefile
parentlvl 2 mutattions. (diff)
downloadmutator-36667484ebcef282aff4aa57db5714e2b82b27bf.tar.gz
mutator-36667484ebcef282aff4aa57db5714e2b82b27bf.zip
now builds lvl mutation source file
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files 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.'