1 |
LC = pdflatex |
2 |
BC = bibtex |
3 |
PDF = Preview |
4 |
|
5 |
.SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf |
6 |
|
7 |
PAPER_ROOT = ripple |
8 |
|
9 |
PICTURES = \ |
10 |
logFit.eps \ |
11 |
phase.eps \ |
12 |
properties_sq.eps \ |
13 |
snapshot.pdf |
14 |
|
15 |
INFILES = \ |
16 |
ripple.tex \ |
17 |
ripple.bib |
18 |
|
19 |
# |
20 |
# standard rules: |
21 |
# |
22 |
|
23 |
all:: ${PAPER_ROOT}.view |
24 |
|
25 |
${PAPER_ROOT}.pdf: ${INFILES} ${PICTURES} |
26 |
$(LC) ${PAPER_ROOT} |
27 |
$(BC) ${PAPER_ROOT} |
28 |
$(LC) ${PAPER_ROOT} |
29 |
$(LC) ${PAPER_ROOT} |
30 |
|
31 |
${PAPER_ROOT}.view: ${PAPER_ROOT}.pdf |
32 |
osascript "reload_preview.scpt" ${PAPER_ROOT}.pdf |
33 |
open -a $(PDF) ${PAPER_ROOT}.pdf |
34 |
|
35 |
clean:: |
36 |
/bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot ripple.pdf *.ttt |
37 |
|
38 |
|