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