aboutsummaryrefslogtreecommitdiff
path: root/2021/05/Makefile
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-05 06:47:55 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-05 06:47:55 +0100
commit5cf278d358e0b267b70d63bc72ae1effdb85a882 (patch)
treeb0af38643c974f08c673fb9729fb16209b88528e /2021/05/Makefile
parent0f4b26a35cc3f3d805272e9f2e542afea42b4752 (diff)
Add day 5 solutions
Diffstat (limited to '2021/05/Makefile')
-rw-r--r--2021/05/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/2021/05/Makefile b/2021/05/Makefile
new file mode 100644
index 0000000..1378fd6
--- /dev/null
+++ b/2021/05/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
+clean:
+ rm -f puzzle-[12].awk