aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk>2015-12-10 13:24:29 +0000
committerNathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk>2015-12-10 13:24:29 +0000
commitd9c5c42f345795705586eb5bea9888166c99d568 (patch)
tree9a7c6273b0437514a7a731ee03d8eb9e7a1cf706
parent4c7b60e037a73a49616b8e3ce03adb931ee4f707 (diff)
Updated Makefile and .gitignore
-rw-r--r--.gitignore1
-rw-r--r--Makefile6
2 files changed, 4 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 03496f5..e0e5fbd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
a.out
+*.bin
*.swp
diff --git a/Makefile b/Makefile
index d42e6ea..d127f38 100644
--- a/Makefile
+++ b/Makefile
@@ -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}