annotate Makefile @ 2:d8018a904ace

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