view paper/Makefile @ 12:7701e53b128a

fix Makefile
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Thu, 11 Aug 2011 18:48:09 +0900
parents 7d0cee5cc2de
children
line wrap: on
line source

TARGET=kazz-jssst
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 $(PDF)
	platex $(TARGET).tex

.eps.pdf:
	epspdf $<

clean:
	rm *.{log,aux,dvi,pdf}