TARGET=yuu-preliminary EPS=$(shell ls ./fig/*.eps) PDF=$(EPS:%.eps=%.pdf) .SUFFIXES: .eps .pdf all: $(TARGET).pdf $(TARGET).pdf: $(TARGET).dvi dvipdfmx $(TARGET).dvi open $(TARGET).pdf $(TARGET).dvi: $(TARGET).tex platex $(TARGET).tex .eps.pdf: epspdf $< clean: rm *.{log,aux,dvi,pdf}