diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-12-20 07:32:59 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-12-20 07:32:59 +0100 |
commit | ff03dafbae6f53027a1e79e1a60678afc31ebbdf (patch) | |
tree | a473afdc32ba12dcf411e38ec0075d2e135d6280 /Makefiles | |
parent | 1b1ee3db6b7cf6746782d9c2fb5f80bfa3f3afb5 (diff) |
Add 2024 day 20 solutions
Diffstat (limited to 'Makefiles')
-rw-r--r-- | Makefiles/py.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefiles/py.mk b/Makefiles/py.mk index e32992b..541f6f0 100644 --- a/Makefiles/py.mk +++ b/Makefiles/py.mk @@ -1,9 +1,13 @@ .POSIX: 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 + sed -e '/START PART 2/,/END PART 2/d' \ + -e '1aPUZZLE_PART = 1' \ + puzzles.py >puzzle-1.py + sed -e '/START PART 1/,/END PART 1/d' \ + -e '1aPUZZLE_PART = 2' \ + puzzles.py >puzzle-2.py chmod +x puzzle-[12].py clean: - rm -f puzzle-[12].py + rm -f puzzle-[12].py
\ No newline at end of file |