aboutsummaryrefslogtreecommitdiff
path: root/2021/01/Makefile
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-01 06:16:25 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-01 06:16:25 +0100
commitaafb97eb7f186c56992a0be6a50c4df4058bd4ed (patch)
treeb8adbd307e52ec07ac6aecc013ea20710abba1bb /2021/01/Makefile
parent0bacf291012507634fed08df5ea2d7372c518a99 (diff)
It is now 2021, so time to add more stuff
Also got the first solution of CSE, 5:30 gang.
Diffstat (limited to '2021/01/Makefile')
-rw-r--r--2021/01/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/2021/01/Makefile b/2021/01/Makefile
new file mode 100644
index 0000000..9f0c9fb
--- /dev/null
+++ b/2021/01/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