aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-05 00:33:13 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-05 00:33:13 +0000
commited250477ab9e6fc4bec98c6b0b11ab7d22a7c2f6 (patch)
tree67258559b7ac43c87ea1df0a4978f52868e75cdf /makefile
parentthe misra-c check rules (diff)
downloadmutator-ed250477ab9e6fc4bec98c6b0b11ab7d22a7c2f6.tar.gz
mutator-ed250477ab9e6fc4bec98c6b0b11ab7d22a7c2f6.zip
build mutator0 now
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/makefile b/makefile
index 3a68217..d637bda 100644
--- a/makefile
+++ b/makefile
@@ -21,6 +21,7 @@ LD_FLAGS+=$(shell /home/bloodstalker/llvm/llvm/build/bin/llvm-config --ldflags -
CXX_FLAGS+=$(EXTRA_CXX_FALGS)
LD_FLAGS+=$(EXTRA_LD_FLAGS)
+TARGET0=mutator-lvl0
TARGET=mutator
TARGET2=mutator-lvl2
@@ -29,9 +30,9 @@ TARGET2=mutator-lvl2
.PHONY:all clean help
-all: $(TARGET) $(TARGET2)
+all: $(TARGET) $(TARGET2) $(TARGET0)
-.cpp.o: mutator.cpp mutator-lvl2.cpp mutator_aux.cpp mutator_aux.h
+.cpp.o: mutator.cpp mutator-lvl2.cpp mutator-lvl0.cpp mutator_aux.cpp mutator_aux.h
$(CXX) $(CXX_FLAGS) -c $< -o $@
$(TARGET): $(TARGET).o mutator_aux.o
@@ -40,8 +41,11 @@ $(TARGET): $(TARGET).o mutator_aux.o
$(TARGET2): $(TARGET2).o mutator_aux.o
$(CXX) $? $(LD_FLAGS) -o $@
+$(TARGET0): $(TARGET0).o mutator_aux.o
+ $(CXX) $? $(LD_FLAGS) -o $@
+
clean:
- rm -f *.o *~ $(TARGET) $(TARGET2)
+ rm -f *.o *~ $(TARGET0) $(TARGET) $(TARGET2)
help:
@echo 'there is help.'