view prepaper/Makefile @ 0:bf822f6fcc95

init
author Ken Miyahira <e175733@ie.u-ryukyu.ac.jp>
date Tue, 08 Dec 2020 18:40:08 +0900
parents
children
line wrap: on
line source

# Created by Daichi Toma on Nov 16, 2011

TARGET=pre

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) $<

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


all: $(TARGET).pdf
	open $(TARGET).pdf
	rm -f *.dvi *.aux *.log *.lof *.lol *.lot *.ps *.gz *.bbl *.blg *.toc *~ *.core

dvi: $(TARGET).dvi

pdf: $(TARGET).pdf


clean:
	rm -f *.dvi *.aux *.log *.lof *.lol *.lot *.ps *.gz *.bbl *.blg *.toc *~ *.core