comparison Makefile @ 0:82e5501f2105

add file
author tobaru
date Tue, 24 Oct 2017 12:14:59 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:82e5501f2105
1 # Created by Daichi Toma on Nov 16, 2011
2
3 TARGET=mid_thesis
4
5 LATEX=platex
6 BIBTEX=pbibtex
7 DVIPDF=dvipdfmx -p a4
8 #You need setting "-l" option if You think You get a landscape PDF
9 #DVIPDF_OPT=-l
10
11 #Embed fonts
12 #DVIPDF_OPT=-f hiraginoEmbed.map
13
14 .SUFFIXES: .tex .dvi .pdf
15
16 .tex.dvi:
17 $(LATEX) $<
18 $(BIBTEX) $(TARGET)
19 $(LATEX) $<
20 $(LATEX) $<
21
22 .dvi.pdf:
23 $(DVIPDF) $(DVIPDF_OPT) $<
24
25
26 all: $(TARGET).pdf
27 open $(TARGET).pdf
28
29 dvi: $(TARGET).dvi
30
31 pdf: $(TARGET).pdf
32
33
34 clean:
35 rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *.toc *~ *.core
36