1 |
LC = pdflatex |
2 |
BC = bibtex |
3 |
PDF = Preview |
4 |
|
5 |
.SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf |
6 |
|
7 |
PAPER_ROOT = electrostaticMethods |
8 |
SUPPORTING = SupportingInfo |
9 |
|
10 |
PICTURES = \ |
11 |
increasedDamping.pdf \ |
12 |
spectraSquare.pdf \ |
13 |
dualLinear.pdf \ |
14 |
delEplot.pdf \ |
15 |
frcMagplot.pdf \ |
16 |
frcTrqAngplot.pdf \ |
17 |
trqMagplot.pdf |
18 |
|
19 |
INFILES = \ |
20 |
electrostaticMethods.tex \ |
21 |
electrostaticMethods.bib |
22 |
|
23 |
SINFILES = \ |
24 |
SupportingInfo.tex \ |
25 |
electrostaticMethods.bib |
26 |
|
27 |
# |
28 |
# standard rules: |
29 |
# |
30 |
|
31 |
all:: ${PAPER_ROOT}.view |
32 |
|
33 |
sview:: ${SUPPORTING}.view |
34 |
|
35 |
${PAPER_ROOT}.pdf: ${INFILES} ${PICTURES} |
36 |
$(LC) ${PAPER_ROOT} |
37 |
$(BC) ${PAPER_ROOT} |
38 |
$(LC) ${PAPER_ROOT} |
39 |
$(LC) ${PAPER_ROOT} |
40 |
|
41 |
${SUPPORTING}.pdf: ${SINFILES} |
42 |
$(LC) ${SUPPORTING} |
43 |
$(BC) ${SUPPORTING} |
44 |
$(LC) ${SUPPORTING} |
45 |
$(LC) ${SUPPORTING} |
46 |
|
47 |
${PAPER_ROOT}.view: ${PAPER_ROOT}.pdf |
48 |
osascript "reload_preview.scpt" ${PAPER_ROOT}.pdf |
49 |
open -a $(PDF) ${PAPER_ROOT}.pdf |
50 |
|
51 |
${SUPPORTING}.view: ${SUPPORTING}.pdf |
52 |
osascript "reload_preview.scpt" ${SUPPORTING}.pdf |
53 |
open -a $(PDF) ${SUPPORTING}.pdf |
54 |
|
55 |
clean:: |
56 |
/bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot electrostaticMethods.pdf SupportingInfo.pdf *.ttt |
57 |
|
58 |
|