aboutsummaryrefslogtreecommitdiff
path: root/2015/04/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '2015/04/Makefile')
-rw-r--r--2015/04/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/2015/04/Makefile b/2015/04/Makefile
index 10ec8f9..039d3f7 100644
--- a/2015/04/Makefile
+++ b/2015/04/Makefile
@@ -1,7 +1,4 @@
-all:
- ${CC} ${CFLAGS} -lmd -DINPUT=\"$$(cat input)\" -o puzzle-1 puzzles.c
- ${CC} ${CFLAGS} -lmd -DINPUT=\"$$(cat input)\" -DPART2 -o puzzle-2 puzzles.c
+CPPFLAGS = -DINPUT=\"$$(cat input)\"
+LDLIBS = -lmd
-.PHONY: clean
-clean:
- rm -f puzzle-[12]
+include ../../Makefiles/c.mk