.POSIX: .SUFFIXES: .tex .pdf all: progreport/document.pdf execsumm/document.pdf progreport/document.pdf: progreport/document.tex execsumm/document.pdf: execsumm/document.tex .tex.pdf: pdftex $< clean: find . -name "*.pdf" | xargs rm -f .PHONY: all clean