aboutsummaryrefslogtreecommitdiff
path: root/2017/05/Makefile
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-06 21:53:31 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-06 21:53:31 +0100
commitac0ae55b0c2cec33a18b9a4e1ebe3558f3467b57 (patch)
tree890045b786921670da123531bf2cba3a928a2e6b /2017/05/Makefile
parent7b8acb52f25bda9a533276067a0e94826f8e14df (diff)
Add day 5 solutions
Diffstat (limited to '2017/05/Makefile')
-rw-r--r--2017/05/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/2017/05/Makefile b/2017/05/Makefile
new file mode 100644
index 0000000..b81afcc
--- /dev/null
+++ b/2017/05/Makefile
@@ -0,0 +1,7 @@
+all:
+ ${CC} ${CFLAGS} -DPROGLEN=`wc -l <input` -o puzzle-1 puzzles.c
+ ${CC} ${CFLAGS} -DPART2 -DPROGLEN=`wc -l <input` -o puzzle-2 puzzles.c
+
+.PHONY: clean
+clean:
+ rm -f puzzle-[12]