annotate Makefile @ 0:1f02fe29f47f

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