diff options
author | bloodstalker <thabogre@gmail.com> | 2017-03-09 13:52:05 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-03-09 13:52:05 +0000 |
commit | 326c63923864cc85df944273ce918a5ae72f9d9f (patch) | |
tree | 651bd09f2b43ba5ee657b274456731aec18bca34 | |
parent | fixed a couple of log issues. now the log file is useful. (diff) | |
download | mutator-326c63923864cc85df944273ce918a5ae72f9d9f.tar.gz mutator-326c63923864cc85df944273ce918a5ae72f9d9f.zip |
now can builds the deamon,client and server too
-rw-r--r-- | makefile | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -4,6 +4,7 @@ include macros.mk #######################################VARS#################################### CXX?=clang++ +CC?=clang LLVM_CONF?=llvm-config BUILD_MODE?=COV_NO_CLANG_1Z SHELL:=/bin/bash @@ -84,13 +85,16 @@ LD_FLAGS+=$(EXTRA_LD_FLAGS) TARGET0=mutator-lvl0 TARGET1=mutator-lvl1 TARGET2=mutator-lvl2 +TARGETC=mutatorclient +TARGETD=mutatord +TARGETS=mutatorserver ######################################RULES#################################### .DEFAULT: all .PHONY:all clean install help $(TARGET0) $(TARGET1) $(TARGET2) -all: $(TARGET0) $(TARGET1) $(TARGET2) +all: $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETC) $(TARGETD) $(TARGETS) .cpp.o: $(CXX) $(CXX_FLAGS) -c $< -o $@ @@ -106,10 +110,20 @@ $(TARGET2): $(TARGET2).o mutator_aux.o $(TARGET0): $(TARGET0).o mutator_aux.o $(CXX) $^ $(LD_FLAGS) -o $@ +$(TARGETC): + $(MAKE) -C daemon mutatorclient + +$(TARGETD): + $(MAKE) -C daemon mutatord + +$(TARGETS): + $(MAKE) -C daemon mutatorserver + clean: rm -f *.o *~ $(TARGET0) $(TARGET1) $(TARGET2) $(MAKE) -C tinyxml2 clean $(MAKE) -C json clean + $(MAKE) -C daemon clean install: chmod +x ./mutator.sh |