annotate Makefile @ 0:0bb2e853d41b

first commit
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Wed, 16 Oct 2019 00:12:23 +0900
parents
children d8018a904ace
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
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 TARGET=midterm
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 $(BIBTEX) $(TARGET)
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 $(LATEX) $<
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 .dvi.pdf:
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 $(DVIPDF) $(DVIPDF_OPT) $<
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
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 all: $(TARGET).pdf
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 open $(TARGET).pdf
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 dvi: $(TARGET).dvi
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 pdf: $(TARGET).pdf
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
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 clean:
0bb2e853d41b first commit
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 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
36