aboutsummaryrefslogtreecommitdiff
path: root/Makefiles/lisp.mk
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-12-10 21:03:11 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-12-10 21:03:11 +0100
commit4f2af8b54b567471714dc117f6a93189573d6717 (patch)
treec70781ddaab19f1656abac19727d1700fa28c87c /Makefiles/lisp.mk
parent2834d0e6a1a1adfec388675ff93dfa837b41ec67 (diff)
Add 2024 day 10 solutions
Diffstat (limited to 'Makefiles/lisp.mk')
-rw-r--r--Makefiles/lisp.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefiles/lisp.mk b/Makefiles/lisp.mk
new file mode 100644
index 0000000..b9122df
--- /dev/null
+++ b/Makefiles/lisp.mk
@@ -0,0 +1,9 @@
+.POSIX:
+
+all:
+ sed '/START PART 2/,/END PART 2/d' puzzles.lisp >puzzle-1.lisp
+ sed '/START PART 1/,/END PART 1/d' puzzles.lisp >puzzle-2.lisp
+ chmod +x puzzle-[12].lisp
+
+clean:
+ rm -f puzzle-[12].lisp \ No newline at end of file