view Makefile @ 6:17b65ea13000

add ~last
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Fri, 18 Oct 2019 17:25:20 +0900
parents d8018a904ace
children
line wrap: on
line source

# Created by Daichi Toma on Nov 16, 2011

TARGET=mid-thesis

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

#Embed fonts
#DVIPDF_OPT=-f hiraginoEmbed.map

.SUFFIXES: .tex .dvi .pdf

.tex.dvi:
	$(LATEX) $<
	$(BIBTEX) $(TARGET)
	$(LATEX) $<
	$(LATEX) $<
	cp $(TARGET).pdf 165713F_mid_thesis.pdf

.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 *.bbl *.blg *.toc *~ *.core