LATEX_MASTER= nonidealmixture-test.tex \ testDoubleImage.tex testpdfrack.tex withInclude.tex all: ${LATEX_MASTER:tex=ps} ${LATEX_MASTER:tex=pdf} tex-clean .SUFFIXES: .SUFFIXES: .tex .ps .pdf withInclude.pdf: FfG.pdf FfG.pdf: FfG.eps aSubFile.tex ./pdfrack.sh -M withInclude.tex aSubFile.tex .tex.ps: latex $* dvips $*.dvi -o $*.ps .tex.pdf: ./pdfrack.sh $*.tex pdflatex $* tex-clean: \rm -rf ${LATEX_MASTER:tex=log} ${LATEX_MASTER:tex=toc} ${LATEX_MASTER:tex=bbl} \ ${LATEX_MASTER:tex=blg} ${LATEX_MASTER:tex=thm} ${LATEX_MASTER:tex=pfg} clean: \rm -rf ${LATEX_MASTER:tex=dvi} ${LATEX_MASTER:tex=log} ${LATEX_MASTER:tex=toc} ${LATEX_MASTER:tex=bbl} \ ${LATEX_MASTER:tex=blg} ${LATEX_MASTER:tex=thm} ${LATEX_MASTER:tex=ps} ${LATEX_MASTER:tex=pdf}