3 TEMP_FILES = $(MPS:%=%.mp[a-z]) $(MPS:%=%.log) mp* texnum.mpx
4 GENERATED_FILES = $(MPS:%=%.[0-9]*) sample.log sample.aux sample.pdf
15 $(PDFVIEWER) sample.pdf &
18 rm -f $(GENERATED_FILES)
23 # generate a pdf containing all mp images for previewing-troubleshooting
24 # depend on the first image from each mp file
25 sample.pdf : sample.tex images
28 # if we call for the first image from an mp file, make them all
30 mpost "\$(^:%=input %;)"