view Makefile @ 4:ab2220cd9ba5 default tip

modify
author Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
date Sat, 28 Jul 2012 05:32:32 +0900
parents 16380f303b92
children
line wrap: on
line source

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}