aboutsummaryrefslogtreecommitdiff
path: root/2021/06/Makefile
blob: 9f2e2367a1a81701b2bceea160c96a6b7a55c309 (plain) (blame)
1
2
3
4
5
6
7
8
all:
	m4 -D DAYS=80 puzzles.py | sed '/START PART 2/,/END PART 2/d' >puzzle-1.py
	m4 -D DAYS=256 puzzles.py | sed '/START PART 1/,/END PART 1/d' >puzzle-2.py
	chmod +x puzzle-[12].py

.PHONY: clean
clean:
	rm -f puzzle-[12].py