From feca43e796fbe8bde441f017f4c94642392bc40f Mon Sep 17 00:00:00 2001
From: Thomas Voss <thomasvoss@live.com>
Date: Thu, 2 Dec 2021 14:34:48 +0100
Subject: Add day 23 solutions

---
 2015/23/Makefile | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 2015/23/Makefile

(limited to '2015/23/Makefile')

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]
-- 
cgit v1.2.3