aboutsummaryrefslogtreecommitdiff
path: root/2015/23/Makefile
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-02 14:34:48 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-02 14:34:48 +0100
commitfeca43e796fbe8bde441f017f4c94642392bc40f (patch)
tree3642a3ceec6375a8275c29de8db22e9f5c88fa44 /2015/23/Makefile
parent3ac99f409ae6545e2f4fece4d9397d28d35b279b (diff)
Add day 23 solutions
Diffstat (limited to '2015/23/Makefile')
-rw-r--r--2015/23/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/2015/23/Makefile b/2015/23/Makefile
new file mode 100644
index 0000000..8779ec0
--- /dev/null
+++ b/2015/23/Makefile
@@ -0,0 +1,9 @@
+all:
+ flex -f -DYY_NO_INPUT --nounput puzzles.l
+ ${CC} ${CFLAGS} -lfl -DPROGLEN=`wc -l <input` -o puzzle-1 lex.yy.c
+ ${CC} ${CFLAGS} -lfl -DPROGLEN=`wc -l <input` -DPART2 -o puzzle-2 lex.yy.c
+ rm lex.yy.c
+
+.PHONY: clean
+clean:
+ rm -f puzzle-[12]