0
|
1 # Created by Daichi Toma on Nov 16, 2011
|
|
2
|
|
3 TARGET=final_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 rm -f *.dvi *.aux *.log *.lof *.lol *.lot *.ps *.gz *.bbl *.blg *.toc *~ *.core
|
|
29
|
|
30 dvi: $(TARGET).dvi
|
|
31
|
|
32 pdf: $(TARGET).pdf
|
|
33
|
|
34
|
|
35 clean:
|
|
36 rm -f *.dvi *.aux *.log *.lof *.lol *.lot *.ps *.gz *.bbl *.blg *.toc *~ *.core
|
|
37
|