aboutsummaryrefslogtreecommitdiff
path: root/day03/Makefile
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2019-12-03 07:38:35 +0000
committerNat Lasseter <user@4574.co.uk>2019-12-03 07:38:35 +0000
commit4099b94b8094ca753df43e946b8804b2bf71b080 (patch)
tree9c181955dc55f166de90d1de87f107fa75d4a2ef /day03/Makefile
parentbe1c10d71edd16b68ef969f3b8b83dca6bb32dba (diff)
Day 03
Diffstat (limited to 'day03/Makefile')
-rw-r--r--day03/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/day03/Makefile b/day03/Makefile
new file mode 100644
index 0000000..d8adac3
--- /dev/null
+++ b/day03/Makefile
@@ -0,0 +1,14 @@
+DAY = 03
+
+.PHONY: run clean
+
+run: build
+ docker run -it --rm aoc2019day$(DAY)
+
+build: part* input
+ docker build -t aoc2019day$(DAY) .
+ touch build
+
+clean:
+ docker image rm -f aoc2019day$(DAY)
+ rm -f build