aboutsummaryrefslogtreecommitdiff
path: root/day02/Makefile
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2018-12-02 20:55:15 +0000
committerNat Lasseter <user@4574.co.uk>2018-12-02 20:55:15 +0000
commitaa001e10900e62eca5b454a63932bd5725ffe0cd (patch)
tree14b904b014eb845d35b5576c8eb23321450aa10a /day02/Makefile
parentbc515fe07c65f1a874733b29e1549de5b8d6dcc7 (diff)
Makefile clean and entrypoint prettyness
Diffstat (limited to 'day02/Makefile')
-rw-r--r--day02/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/day02/Makefile b/day02/Makefile
index f57d8f4..e205428 100644
--- a/day02/Makefile
+++ b/day02/Makefile
@@ -1,6 +1,6 @@
DAY = 02
-.PHONY: run
+.PHONY: run clean
run: build
sudo docker run -it --rm aoc2018day$(DAY)
@@ -8,3 +8,6 @@ run: build
build: part* input
sudo docker build -t aoc2018day$(DAY) .
touch build
+
+clean:
+ rm -f build