# each MetaPost graphic has it's own file, # so the basic definitions should get bundled out into an external file # (encourages reuse anyway, so it's good for you :p) all : sols.pdf probs.pdf view : vprobs vsols vprobs : probs.pdf xpdf $< & vsols : sols.pdf xpdf $< & %.pdf : %.tex problems.tex TEXINPUTS="..:" pdflatex $< TEXINPUTS="..:" pdflatex $< semi-clean : rm -f *.1 *.log *.mp *.mpx *.aux *.out *.cut clean : semi-clean rm -f *.pdf