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