aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/makefile')
-rw-r--r--daemon/makefile27
1 files changed, 27 insertions, 0 deletions
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.'
+