aboutsummaryrefslogtreecommitdiff
path: root/2015/23/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '2015/23/Makefile')
-rw-r--r--2015/23/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/2015/23/Makefile b/2015/23/Makefile
index 8779ec0..b65503c 100644
--- a/2015/23/Makefile
+++ b/2015/23/Makefile
@@ -1,9 +1,3 @@
-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
+CPPFLAGS = -DPROGLEN=`wc -l <input`
-.PHONY: clean
-clean:
- rm -f puzzle-[12]
+include ../../Makefiles/lex.mk