aboutsummaryrefslogtreecommitdiff
path: root/Makefiles/sh.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Makefiles/sh.mk')
-rw-r--r--Makefiles/sh.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefiles/sh.mk b/Makefiles/sh.mk
new file mode 100644
index 0000000..2eaa3a2
--- /dev/null
+++ b/Makefiles/sh.mk
@@ -0,0 +1,9 @@
+.POSIX:
+
+all:
+ sed '/START PART 2/,/END PART 2/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