annotate paper/Makefile @ 0:79c74488a2b7

add files
author Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
date Sat, 11 Feb 2012 16:57:45 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 TARGET = thesis-paper
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 SRC = $(wildcard *.tex)
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 LATEX = platex
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 DVIPS = dvips
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 DVIPDFM = dvipdfmx
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 RM = rm -f
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 EBB = ebb
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 # Option definitions
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 DVIPDFMOPT =
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 DVIPSOPT = -D 720 -mode esphi -O 0mm,0mm -N0
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 # Suffixes definitions
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 .SUFFIXES: .tex .dvi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 # Recipes
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 all: pdf# $(TARGET).ps
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 open $(TARGET).pdf
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 dvi:
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 @echo "----------- make dvi file ($(TARGET).dvi) ----------"
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 $(LATEX) $(TARGET)
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 $(LATEX) $(TARGET)
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 $(LATEX) $(TARGET)
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 pdf: dvi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 $(DVIPDFM) $(DVIPDFMOPT) $(TARGET)
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 clean:
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 $(RM) *~ \#*
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 @if [ -f $(TARGET).aux ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 then $(RM) $(TARGET).aux;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 @if [ -f $(TARGET).log ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 then $(RM) $(TARGET).log;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 @if [ -f $(TARGET).toc ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 then $(RM) $(TARGET).toc;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
41 @if [ -f $(TARGET).lof ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 then $(RM) $(TARGET).lof;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 @if [ -f $(TARGET).lot ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 then $(RM) $(TARGET).lot;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 @if [ -f $(TARGET).big ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 then $(RM) $(TARGET).big;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 @if [ -f $(TARGET).bbl ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 then $(RM) $(TARGET).bbl;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 @if [ -f $(TARGET).ilg ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 then $(RM) $(TARGET).ilg;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
55 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 @if [ -f $(TARGET).idx ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 then $(RM) $(TARGET).idx;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
58 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
59 @if [ -f $(TARGET).ind ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
60 then $(RM) $(TARGET).ind;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 @if [ -f $(TARGET).dvi ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 then $(RM) $(TARGET).dvi;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
64 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
65 @if [ -f $(TARGET).pdf ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 then $(RM) $(TARGET).pdf;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
67 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
68 @if [ -f $(TARGET).out ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 then $(RM) $(TARGET).out;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
70 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
71 @if [ -f $(TARGET).bbl ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
72 then $(RM) $(TARGET).bbl;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
73 fi
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 @if [ -f $(TARGET).blg ];\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
75 then $(RM) $(TARGET).blg;\
79c74488a2b7 add files
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
76 fi