aboutsummaryrefslogtreecommitdiff
path: root/2021/16/Makefile
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-16 12:08:07 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-16 12:08:07 +0100
commit8fd28be759da93efc80abd230fb33a045ed366c9 (patch)
treea670ebc898be170686c01dda24407fd8789df062 /2021/16/Makefile
parentf05d35537b96c9f0595caa7ef09bc8802bacfc43 (diff)
Add day 16 solutions
Diffstat (limited to '2021/16/Makefile')
-rw-r--r--2021/16/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/2021/16/Makefile b/2021/16/Makefile
new file mode 100644
index 0000000..247194a
--- /dev/null
+++ b/2021/16/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