aboutsummaryrefslogtreecommitdiff
path: root/2017/06/Makefile
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-06 23:27:58 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-06 23:27:58 +0100
commite984cdcd76fd861b8ec633f15f0f4255394c22d1 (patch)
treef10ea845253d7dd4aa7af48c2643f891e474085e /2017/06/Makefile
parentac0ae55b0c2cec33a18b9a4e1ebe3558f3467b57 (diff)
Add day 6 solutions
Diffstat (limited to '2017/06/Makefile')
-rw-r--r--2017/06/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/2017/06/Makefile b/2017/06/Makefile
new file mode 100644
index 0000000..247194a
--- /dev/null
+++ b/2017/06/Makefile
@@ -0,0 +1,8 @@
+all:
+ sed '/START PART 2/,/END PART 2/d' puzzles.py >puzzle-1.py
+ sed '/START PART 1/,/END PART 1/d' puzzles.py >puzzle-2.py
+ chmod +x puzzle-[12].py
+
+.PHONY: clean
+clean:
+ rm -f puzzle-[12].py