diff options
Diffstat (limited to 'Makefiles/py.mk')
-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 |