aboutsummaryrefslogtreecommitdiff
path: root/day04/Makefile
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2019-12-04 11:26:26 +0000
committerNat Lasseter <user@4574.co.uk>2019-12-04 11:26:26 +0000
commit5e8b0fe13c85e66fa5a1f90ee13e9ddfadae5c09 (patch)
tree0d2e83f9b3440affe639f78d57a5b595a8282a51 /day04/Makefile
parent4099b94b8094ca753df43e946b8804b2bf71b080 (diff)
Day 04, in minizinc of course.
Diffstat (limited to 'day04/Makefile')
-rw-r--r--day04/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/day04/Makefile b/day04/Makefile
new file mode 100644
index 0000000..991c0f6
--- /dev/null
+++ b/day04/Makefile
@@ -0,0 +1,14 @@
+DAY = 04
+
+.PHONY: run clean
+
+run: build
+ docker run -it --rm aoc2019day$(DAY)
+
+build: part* input.dzn
+ docker build -t aoc2019day$(DAY) .
+ touch build
+
+clean:
+ docker image rm -f aoc2019day$(DAY)
+ rm -f build