blob: 9557092f87f232cd0baf38b7b8bf210628e3a405 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
${DAY}.c: ${DAY}gen
./$< < ${INPUT} > logic 2> prototypes 3> preamble
cat preamble prototypes logic > $@
${DAY}gen: ${DAY}gen.c
gcc ${CFLAGS} -o $@ $< ${DAYFLAGS}
genclean:
rm -f ${DAY}gen ${DAY}.c logic prototypes preamble
.PHONY: genclean
|