annotate Makefile @ 7:db1bf12dcbf7

fix
author e165723 <e165723@ie.u-ryukyu.ac.jp>
date Sun, 20 Oct 2019 19:31:07 +0900
parents 61fe443393a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 TARGET = midterm
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 LATEX = platex
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 BIBTEX = pbibtex
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 #DVIPS = dvips
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 #DVIPDFM = dvipdfmx
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 RM = rm -f
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 DVIPDF=dvipdfmx -p a4
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 # Option definitions
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 #DVIPDFMOPT =
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 #DVIPSOPT = -D 720 -mode esphi -O 0mm,0mm -N0
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 # Suffixes definitions
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 .SUFFIXES: .tex .dvi .pdf
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 .tex.dvi:
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 $(LATEX) $<
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 $(BIBTEX) $(TARGET)
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 $(LATEX) $<
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 $(LATEX) $<
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 .dvi.pdf:
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 $(DVIPDF) $(DVIPDF_OPT) $<
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 all: $(TARGET).pdf
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 open $(TARGET).pdf
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 dvi: $(TARGET).dvi
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 pdf: $(TARGET).pdf
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
32
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
33
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 clean:
61fe443393a5 first commit
e165723 <e165723@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *~ *.core