aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 81cdd2a..13ca6fe 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,14 @@
+CFLAGS ?= -std=c11 -Wall -Werror -pedantic
+
+all: svcscan svcsupervise
+
svcscan: svcscan.c
- ${CC} -o svcscan -Wall -Werror -pedantic svcscan.c
+ ${CC} ${CFLAGS} -o svcscan svcscan.c
svcsupervise: svcsupervise.c
- ${CC} -o svcsupervise -Wall -Werror -pedantic svcsupervise.c
+ ${CC} ${CFLAGS} -o svcsupervise svcsupervise.c
+
+.PHONY: clean
+clean:
+ rm -f svcscan svcsupervise