.SUFFIXES: .lou .ps .pdf

.lou.ps:
	lout -r3 $< -o $@

.ps.pdf:
	ps2pdf -sPAPERSIZE=a4 $<

The_Other_Side_of_the_Hill.pdf: The_Other_Side_of_the_Hill.lou \
	sequence.lou \
	procedures.lou \
	definitions.lou \
	cards.lou \
	intrications.lou \
	images.lou

build: The_Other_Side_of_the_Hill.pdf

clean:
	-@ rm The_Other_Side_of_the_Hill.ps The_Other_Side_of_the_Hill.pdf *.li *.ld
