0
|
1 # Created by Daichi Toma on Nov 16, 2011
|
|
2
|
|
3 TARGET=prosym
|
|
4
|
|
5 LATEX=platex
|
6
|
6 BIBTEX=pbibtex
|
0
|
7 DVIPDF=dvipdfmx
|
|
8 #You need setting "-l" option if You think You get a landscape PDF
|
|
9 #DVIPDF_OPT=-l
|
|
10
|
|
11 .SUFFIXES: .tex .dvi .pdf
|
|
12
|
|
13 .tex.dvi:
|
|
14 $(LATEX) $<
|
6
|
15 $(BIBTEX) $(TARGET)
|
|
16 $(LATEX) $<
|
0
|
17 $(LATEX) $<
|
|
18
|
|
19 .dvi.pdf:
|
|
20 $(DVIPDF) $(DVIPDF_OPT) $<
|
|
21
|
|
22
|
|
23 all: $(TARGET).pdf
|
|
24 open $(TARGET).pdf
|
|
25
|
|
26 dvi: $(TARGET).dvi
|
|
27
|
|
28 pdf: $(TARGET).pdf
|
|
29
|
|
30
|
|
31 clean:
|
6
|
32 rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *~ *.core
|
0
|
33
|