annotate Makefile @ 4:7af0000e5967

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