From 0b8ad545cb59cac27e7a4ec033126bae2ea41040 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 17 Mar 2017 01:12:07 +0330 Subject: added necessary changes for the new executables. i'm gonna later move the macros to macros.mk --- makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 02ad2da..944953c 100644 --- a/makefile +++ b/makefile @@ -97,13 +97,14 @@ TARGET2=mutator-lvl2 TARGETC=mutatorclient TARGETD=mutatord TARGETS=mutatorserver +SFCPP01=safercpp-arr ######################################RULES#################################### .DEFAULT: all -.PHONY:all clean install help $(TARGET0) $(TARGET1) $(TARGET2) TAGS +.PHONY:all clean install help $(TARGET0) $(TARGET1) $(TARGET2) TAGS $(SFCPP01) -all: $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETC) $(TARGETD) $(TARGETS) +all: $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETC) $(TARGETD) $(TARGETS) $(SFCPP01) .cpp.o: $(CXX) $(CXX_FLAGS) -c $< -o $@ @@ -116,9 +117,12 @@ $(TARGET1): $(TARGET1).o mutator_aux.o $(TARGET2): $(TARGET2).o mutator_aux.o $(CXX) $^ $(LD_FLAGS) -o $@ -$(TARGET0): $(TARGET0).o mutator_aux.o +$(TARGET0): $(TARGET0).o mutator_aux.o mutator_report.o $(CXX) $^ $(LD_FLAGS) -o $@ +$(SFCPP01): ./safercpp/$(SFCPP01).o mutator_aux.o + $(MAKE) -C safercpp CXX=$(CXX) LLVM_CONF=$(LLVM_CONF) BUILD_MODE=$(BUILD_MODE) + $(TARGETC): $(MAKE) -C daemon mutatorclient @@ -136,6 +140,7 @@ clean: $(MAKE) -C tinyxml2 clean $(MAKE) -C json clean $(MAKE) -C daemon clean + $(MAKE) -C safercpp clean install: chmod +x ./mutator.sh -- cgit v1.2.3