aboutsummaryrefslogtreecommitdiff
path: root/2015/15/Makefile
blob: 8ada60cbe817726d9cf9d1d8f0c1eddf9e837dcb (plain) (blame)
1
2
3
4
5
6
7
8
all:
	m4 -D GROUPS=5 puzzles.py | sed '/# START PART 2/,/# END PART 2/d' >puzzle-1.py
	m4 -D GROUPS=6 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