aboutsummaryrefslogtreecommitdiff
path: root/2015/18/Makefile
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-02 09:58:43 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-02 09:58:43 +0100
commit7fb03d975972887cdc42259bd849e9b808f72b7a (patch)
tree3aac16716a2be5b824ef6c77eba47034e531558e /2015/18/Makefile
parent641aa833290fb4ba76db692aa7346e6b136e8e34 (diff)
Merge both solutions into one file
Diffstat (limited to '2015/18/Makefile')
-rw-r--r--2015/18/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/2015/18/Makefile b/2015/18/Makefile
new file mode 100644
index 0000000..9f0c9fb
--- /dev/null
+++ b/2015/18/Makefile
@@ -0,0 +1,8 @@
+all:
+ sed '/# START PART 2/,/# END PART 2/d' puzzles.py >puzzle-1.py
+ sed '/# START PART 1/,/# END PART 1/d' puzzles.py >puzzle-2.py
+ chmod +x puzzle-[12].py
+
+.PHONY: clean
+clean:
+ rm -f puzzle-[12].py