aboutsummaryrefslogtreecommitdiff
path: root/2016/04/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-12-05 21:29:43 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-12-05 21:29:43 +0100
commit86071ef703bd3e3cd55a4ca93668d157d1941363 (patch)
treea807ca0aaea74a26fd04af6432e8db1f6ada79bc /2016/04/Makefile
parent04197d46e899873af5478b4d5ccaf1579fe0b6f8 (diff)
Add 2016 day 4 solutions
Diffstat (limited to '2016/04/Makefile')
-rw-r--r--2016/04/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/2016/04/Makefile b/2016/04/Makefile
new file mode 100644
index 0000000..58d16a1
--- /dev/null
+++ b/2016/04/Makefile
@@ -0,0 +1,9 @@
+.POSIX:
+
+all:
+ sed '/START PART 2/,/END PART 2/d; /START PART 1/d' puzzles.sh >puzzle-1.sh
+ sed '/START PART 1/,/END PART 1/d' puzzles.sh >puzzle-2.sh
+ chmod +x puzzle-[12].sh
+
+clean:
+ rm -f puzzle-[12].sh