aboutsummaryrefslogtreecommitdiff
path: root/day01/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'day01/Makefile')
-rw-r--r--day01/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/day01/Makefile b/day01/Makefile
new file mode 100644
index 0000000..b5b7219
--- /dev/null
+++ b/day01/Makefile
@@ -0,0 +1,13 @@
+DAY = 01
+
+.PHONY: run clean
+
+run: build
+ docker run -it --rm aoc2019day$(DAY)
+
+build: part* input
+ docker build -t aoc2019day$(DAY) .
+ touch build
+
+clean:
+ rm -f build