diff options
author | Nathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk> | 2015-12-10 13:24:29 +0000 |
---|---|---|
committer | Nathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk> | 2015-12-10 13:24:29 +0000 |
commit | d9c5c42f345795705586eb5bea9888166c99d568 (patch) | |
tree | 9a7c6273b0437514a7a731ee03d8eb9e7a1cf706 | |
parent | 4c7b60e037a73a49616b8e3ce03adb931ee4f707 (diff) |
Updated Makefile and .gitignore
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -1,2 +1,3 @@ a.out +*.bin *.swp @@ -7,11 +7,11 @@ all: run -include override.mk -${DAY}: ${DAY}.c +${DAY}.bin: ${DAY}.c gcc ${CFLAGS} -o $@ $< ${DAYFLAGS} -run: ${DAY} ${INPUT} - ./${DAY} < ${INPUT} +run: ${DAY}.bin ${INPUT} + ./${DAY}.bin < ${INPUT} clean: rm -f ${DAY} |