From d228f7379d335129e6f2bc1fb63b1aeb0c76760f Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Tue, 28 Feb 2017 18:26:19 +0330 Subject: the daemon makefile --- daemon/makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 daemon/makefile (limited to 'daemon/makefile') diff --git a/daemon/makefile b/daemon/makefile new file mode 100644 index 0000000..66ec91f --- /dev/null +++ b/daemon/makefile @@ -0,0 +1,27 @@ + +##################################VARS################################# +CC=clang +CC_FLAGS= +LD_FLAGS= +TARGET=mutatord +##################################RULES################################ +.DEFAULT: all + +.PHONY: all clean help + +all: $(TARGET) + +.c.o: + $(CC) $(CC_FLAGS) -c $< -o $@ + +TARGET: + $(CC) $^ $(LD_FLAGS) -o $@ + +clean: + rm -f *.o *~ $(TARGET) + +help: + @echo 'all build the target. all is the deafult.' + @echo 'clean runs clean.' + @echo 'help runs help.' + -- cgit v1.2.3