annotate Makefile @ 8:b70a62630a57

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