aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2018-12-02 20:45:42 +0000
committerNat Lasseter <user@4574.co.uk>2018-12-02 20:45:42 +0000
commitbc515fe07c65f1a874733b29e1549de5b8d6dcc7 (patch)
tree07c8d232ed4aaf8f3629d87c4834939aad1e7be0
parent43ab0a3a7a1e095f5f33f224ce73c413f49e156c (diff)
[Makefiles] add prereqs for build target
-rw-r--r--day01/Makefile2
-rw-r--r--day02/Makefile2
-rw-r--r--skel/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/day01/Makefile b/day01/Makefile
index 4b5665a..25b5946 100644
--- a/day01/Makefile
+++ b/day01/Makefile
@@ -5,6 +5,6 @@ DAY = 01
run: build
sudo docker run -it --rm aoc2018day$(DAY)
-build:
+build: part* input
sudo docker build -t aoc2018day$(DAY) .
touch build
diff --git a/day02/Makefile b/day02/Makefile
index 40af6b1..f57d8f4 100644
--- a/day02/Makefile
+++ b/day02/Makefile
@@ -5,6 +5,6 @@ DAY = 02
run: build
sudo docker run -it --rm aoc2018day$(DAY)
-build:
+build: part* input
sudo docker build -t aoc2018day$(DAY) .
touch build
diff --git a/skel/Makefile b/skel/Makefile
index 1bc4310..6d7a96e 100644
--- a/skel/Makefile
+++ b/skel/Makefile
@@ -5,6 +5,6 @@ DAY =
run: build
sudo docker run -it --rm aoc2018day$(DAY)
-build:
+build: part* input
sudo docker build -t aoc2018day$(DAY) .
touch build