view midterm/Makefile @ 0:f6cf611984d2

first commit
author Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
date Wed, 16 Nov 2011 17:37:58 +0900
parents
children a4d96573532b
line wrap: on
line source

# Created by Daichi Toma on Nov 16, 2011

TARGET=midterm

LATEX=platex
DVIPDF=dvipdfmx
#You need setting "-l" option if You think You get a landscape PDF
#DVIPDF_OPT=-l

.SUFFIXES: .tex .dvi .pdf

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

.dvi.pdf:
	$(DVIPDF) $(DVIPDF_OPT) $<


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

dvi: $(TARGET).dvi

pdf: $(TARGET).pdf


clean:
	rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *~ *.core