diff options
author | bloodstalker <thabogre@gmail.com> | 2017-03-03 07:36:34 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-03-03 07:36:34 +0000 |
commit | 325c01f10f5173e823411e4129c13db5b61d57e2 (patch) | |
tree | 9c57a12fe5f97cd41f99932efbcbd5079d95a95d /daemon/makefile | |
parent | updated for the new files (diff) | |
download | mutator-325c01f10f5173e823411e4129c13db5b61d57e2.tar.gz mutator-325c01f10f5173e823411e4129c13db5b61d57e2.zip |
updated for the new files
Diffstat (limited to 'daemon/makefile')
-rw-r--r-- | daemon/makefile | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/daemon/makefile b/daemon/makefile index abe6190..080a089 100644 --- a/daemon/makefile +++ b/daemon/makefile @@ -3,25 +3,36 @@ CC=clang CC_FLAGS= LD_FLAGS= -TARGET=mutatord +TARGETD=mutatord +TARGETS=mutatorserver +TARGETC=mutatorclient ##################################RULES################################ .DEFAULT: all .PHONY: all clean help -all: $(TARGET) +all: $(TARGETD) $(TARGETC) $(TARGETS) .c.o: $(CC) $(CC_FLAGS) -c $< -o $@ -TARGET: +TARGETD: + $(CC) $^ $(LD_FLAGS) -o $@ + +TARGETS: + $(CC) $^ $(LD_FLAGS) -o $@ + +TARGETC: $(CC) $^ $(LD_FLAGS) -o $@ clean: - rm -f *.o *~ $(TARGET) + rm -f *.o *~ $(TARGETD) $(TARGETS) $(TARGETC) help: - @echo 'all builds the target. all is the default.' + @echo 'all builds the daemon, the server and the client. all is the default.' + @echo 'mutatord build the daemon' + @echo 'mutatorc builds the client' + @echo 'mutators builds the client' @echo 'clean runs clean.' @echo 'help runs help.' |