# # Magic targets # default: talk.pdf all: talk.dvi talk.ps talk.pdf # I have no idea why I have to wrap these in a csh (or why even sh # doesn't work). But I definitely don't want to find out. clean: csh -c "rm -f talk.{aux,dvi,pdf,ps}" csh -c "rm -f mp/*.[0123456789]{,.eps} mp/*.log \ mp/*.mpx mp/mpx*.dvi mp/mpx*.aux mp/mpxerr.*" .PHONY: default all clean # # Real dependencies # #talk.dvi: mp/insertion.1 # There's no good way to express the output of metapost in make, so # the following just builds eps's for everything found in mp/ mp: mp/insertion.1 cd $(