annotate Makefile @ 4:83ddc73ce79b

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