view Makefile @ 0:16380f303b92

create repository
author Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
date Thu, 17 Nov 2011 04:11:37 +0900
parents
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}