aboutsummaryrefslogtreecommitdiff
path: root/2021/13/Makefile
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-13 09:57:23 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-13 09:57:23 +0100
commitaa20de37c060ca31b99c6fc201eb0867d2f5e582 (patch)
tree35a26c511c4a8796b93b6aa7d301533e0cb1c995 /2021/13/Makefile
parent8b2de23eaa431c7d640b73e34cbaa6da66c27da6 (diff)
Add day 13 solutions
Diffstat (limited to '2021/13/Makefile')
-rw-r--r--2021/13/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/2021/13/Makefile b/2021/13/Makefile
new file mode 100644
index 0000000..4d4c975
--- /dev/null
+++ b/2021/13/Makefile
@@ -0,0 +1,8 @@
+all:
+ sed '/START PART 2/,/END PART 2/d' puzzles.awk >puzzle-1.awk
+ sed '/START PART 1/,/END PART 1/d' puzzles.awk >puzzle-2.awk
+ chmod +x puzzle-[12].awk
+
+.PHONY: clean run
+clean:
+ rm -f puzzle-[12].awk