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