.POSIX: .SUFFIXES: .tex .pdf all: progreport/document.pdf execsumm/document.pdf progreport/document.pdf: progreport/document.tex format.tex execsumm/document.pdf: execsumm/document.tex format.tex .tex.pdf: cd ${@D} && pdftex --jobname ${*F} ${