annotate Makefile @ 7:5f2c80f8b9cc default tip

add graf
author e065725@kinjou-yutaka-no-macbook.local
date Sat, 28 Nov 2009 13:39:43 +0900
parents 8ccd555a6930
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
1 DOC = finalutf8
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
2
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
3 LATEX = platex
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
4 DVIPS = dvips
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
5 DVIPDFM = dvipdfmx
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
6 RM = rm
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
7
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
8 # Option definitions
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
9 DVIPDFMOPT =
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
10 DVIPSOPT =
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
11
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
12 # Suffixes definitions
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
13 .SUFFIXES: .tex .dvi .ps .pdf
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
14
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
15 # Recipes
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
16 .tex.dvi:
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
17 $(LATEX) $<
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
18 $(LATEX) $<
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
19
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
20 .dvi.pdf:
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
21 $(DVIPDFM) -o $@ $<
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
22
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
23 .dvi.ps:
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
24 $(DVIPS) $(DVIPSOPT) -o $@ $<
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
25
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
26
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
27 all: $(DOC).pdf# $(DOC).ps
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
28 open $(DOC).pdf
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
29
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
30 dvi: $(DOC).dvi
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
31
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
32 pdf: $(DOC).pdf
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
33
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
34 ps: $(DOC).ps
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
35
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
36 clean:
8ccd555a6930 add pdf tex
e065725@kinjyo.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
37 $(RM) -f *.dvi *.aux *.log *.pdf *.ps *.gz *~ *.core