blob: 8779ec072d53db49114a9c3233242c047c812c03 (
plain) (
blame)
1
2
3
4
5
6
7
8
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]
|