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