aboutsummaryrefslogtreecommitdiff
path: root/Makefiles/lisp.mk
blob: d1811276200027df3cd2301547b1f67572162001 (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 '1a(defconstant +puzzle-part+ 1)'                                    \
		puzzles.lisp >puzzle-1.lisp
	sed -e '/START PART 1/,/END PART 1/d'                                       \
		-e '1a(defconstant +puzzle-part+ 2)'                                    \
		puzzles.lisp >puzzle-2.lisp
	chmod +x puzzle-[12].lisp

clean:
	rm -f puzzle-[12].lisp