aboutsummaryrefslogtreecommitdiff
path: root/2020/19/Makefile
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-02 13:58:09 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-02 13:58:09 +0100
commite257eb53359927c537d2e9c31ca8eae7a0f6dfe7 (patch)
treedd4c4b339e71d4cda3b8fa6140183e764d01d43c /2020/19/Makefile
parent8e6440d8fd69caedc11192dca02a6ae28f5248cf (diff)
Combine parts 1 and 2 into one file
Diffstat (limited to '2020/19/Makefile')
-rw-r--r--2020/19/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/2020/19/Makefile b/2020/19/Makefile
new file mode 100644
index 0000000..247194a
--- /dev/null
+++ b/2020/19/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