# This file is part of gpcsets: Pitch Class Sets for Haskell # Copyright 2009 by Bruce H. McCosar. # Distributed under a BSD3 license; see the file 'LICENSE' for details. vpath %.lhs ../../test/Test:../../test/Test/PcSets vpath %.tex include:build TEX := pdflatex -output-directory build TITLE := gpcsets_testsuite default: pdf .PHONY: pdf pdf: ${TITLE}.pdf ${TITLE}.pdf: ${TITLE}.tex ${TEX} $< ${TEX} $< ${TEX} $< .PHONY: tex tex: ${TITLE}.tex ${TITLE}.tex: first.tex PcSets.lhs Svg.lhs Compact.lhs Notes.lhs Catalog.lhs last.tex cat $^ > build/$@ .PHONY: clean clean: rm -f build/*.tex rm -f build/*.aux rm -f build/*.log rm -f build/*.pdf rm -f build/*.toc