annotate Makefile @ 0:b919985837a3

fast commit
author soto@cr.ie.u-ryukyu.ac.jp
date Tue, 25 Aug 2020 15:06:24 +0900
parents
children b124f02ea3f1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
1 # Created by Daichi Toma on Nov 16, 2011
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
2
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
3 TARGET=mid_thesis
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
4
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
5 LATEX=platex
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
6 BIBTEX=pbibtex
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
7 DVIPDF=dvipdfmx -p a4
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
8 #You need setting "-l" option if You think You get a landscape PDF
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
9 #DVIPDF_OPT=-l
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
10
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
11 #Embed fonts
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
12 #DVIPDF_OPT=-f hiraginoEmbed.map
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
13
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
14 .SUFFIXES: .tex .dvi .pdf
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
15
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
16 .tex.dvi:
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
17 $(LATEX) $<
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
18 #$(BIBTEX) $(TARGET)
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
19 $(LATEX) $<
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
20 $(LATEX) $<
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
21
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
22 .dvi.pdf:
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
23 $(DVIPDF) $(DVIPDF_OPT) $<
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
24
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
25
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
26 all: $(TARGET).pdf
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
27 open $(TARGET).pdf
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
28
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
29 dvi: $(TARGET).dvi
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
30
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
31 pdf: $(TARGET).pdf
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
32
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
33
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
34 clean:
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
35 rm -f *.dvi *.aux *.log *.ps *.gz *.bbl *.blg *.toc *~ *.core
b919985837a3 fast commit
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
36