aboutsummaryrefslogtreecommitdiff
path: root/Makefiles/awk.mk
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-11-30 12:23:04 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-11-30 12:23:04 +0100
commit4742dd73046c53cff7fe54deee58358c3b193206 (patch)
treea0622b3cac84df4da90f753ebef8e160adefb25d /Makefiles/awk.mk
parent809b649d862cbfee004c9c87bb0c9ad7475412e1 (diff)
Add default Makefiles
Diffstat (limited to 'Makefiles/awk.mk')
-rw-r--r--Makefiles/awk.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefiles/awk.mk b/Makefiles/awk.mk
new file mode 100644
index 0000000..4d67974
--- /dev/null
+++ b/Makefiles/awk.mk
@@ -0,0 +1,9 @@
+.POSIX:
+
+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
+
+clean:
+ rm -f puzzle-[12].awk