view preliminary/Makefile @ 67:2817add546be

fix
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Mon, 24 Feb 2014 14:18:43 +0900
parents 5f161f93bd08
children
line wrap: on
line source

TARGET=final-thesis
TEX=platex
DVIPDF=dvipdfmx

.SUFFIXES: .tex .dvi .pdf

all:$(TARGET).pdf
	open $(TARGET).pdf

$(TARGET).dvi: $(TARGET).tex

$(TARGET).pdf: $(TARGET).dvi

.tex.dvi:
	$(TEX) $<
	$(TEX) $<

.dvi.pdf:
	$(DVIPDF) $<

clean:
	rm -f $(TARGET).dvi $(TARGET).aux $(TARGET).log 
	rm -f $(TARGET).pdf *~