blob: 541f6f04b60dedf9977a614b13b8be766a994538 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
.POSIX:
all:
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
|