source:
doc/theses/aaron_moss_PhD/phd/Makefile
@
37a3aa23
Last change on this file since 37a3aa23 was d1b1063, checked in by , 6 years ago | |
---|---|
|
|
File size: 1.9 KB |
Rev | Line | |
---|---|---|
[9fce933a] | 1 | BUILD = build |
2 | BIBDIR = ../../../bibliography | |
[6cb935d] | 3 | EVALDIR = evaluation |
[3deb316] | 4 | FIGDIR = figures |
[9fce933a] | 5 | TEXLIB = .:${BUILD}:${BIBDIR}: |
6 | ||
[a72b240] | 7 | # LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && pdflatex -interaction=nonstopmode -halt-on-error -output-directory=${BUILD} |
8 | LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD} | |
[9fce933a] | 9 | BIBTEX = BIBINPUTS=${TEXLIB} && export BIBINPUTS && bibtex |
[2a9d12d] | 10 | |
[3deb316] | 11 | VPATH = ${EVALDIR} ${FIGDIR} |
[6cb935d] | 12 | |
[2a9d12d] | 13 | BASE = thesis |
14 | DOCUMENT = ${BASE}.pdf | |
[9fce933a] | 15 | BIBFILE = ${BIBDIR}/pl.bib |
[2a9d12d] | 16 | |
[62e782e] | 17 | SOURCES = ${addsuffix .tex, \ |
18 | thesis \ | |
[0cf9ffd] | 19 | macros \ |
20 | cfa-macros \ | |
[62e782e] | 21 | frontpgs \ |
22 | introduction \ | |
23 | background \ | |
[48b7085e] | 24 | generic-types \ |
[62e782e] | 25 | resolution-heuristics \ |
[0e6a0beb] | 26 | type-environment \ |
27 | experiments \ | |
[62e782e] | 28 | conclusion \ |
[d1b1063] | 29 | generic-bench \ |
[62e782e] | 30 | } |
31 | ||
[3deb316] | 32 | FIGURES = ${addsuffix .eps, \ |
[902b123] | 33 | safe-conv-graph \ |
[3deb316] | 34 | resolution-dag \ |
[b4fd981] | 35 | union-find-with-classes \ |
36 | persistent-union-find \ | |
[3deb316] | 37 | } |
38 | ||
[6cb935d] | 39 | GRAPHS = ${addsuffix .tex, \ |
40 | generic-timing \ | |
[72b20c9] | 41 | tests-completed \ |
[4c41b17] | 42 | per-prob-histo \ |
[060b12d] | 43 | per-prob-depth \ |
[83a09648] | 44 | cfa-time \ |
[6cb935d] | 45 | } |
46 | ||
[62e782e] | 47 | .PHONY : all rebuild-refs clean wc |
[2a9d12d] | 48 | |
49 | all : ${DOCUMENT} | |
50 | ||
51 | clean : | |
[9fce933a] | 52 | @rm -fv ${BUILD}/* |
[2a9d12d] | 53 | |
[62e782e] | 54 | wc : |
55 | wc ${SOURCES} | |
56 | ||
[a72b240] | 57 | ${DOCUMENT} : ${BASE}.ps |
58 | ps2pdf ${BUILD}/$< | |
59 | ||
60 | ${BASE}.ps : ${BASE}.dvi | |
61 | dvips ${BUILD}/$< -o ${BUILD}/$@ | |
[2a9d12d] | 62 | |
[3deb316] | 63 | ${BASE}.dvi : Makefile ${SOURCES} ${GRAPHS} ${FIGURES} ${BIBFILE} ${BUILD} |
[2a9d12d] | 64 | ${LATEX} ${BASE} |
[9fce933a] | 65 | ${BIBTEX} ${BUILD}/${BASE} |
[2a9d12d] | 66 | ${LATEX} ${BASE} |
67 | ${LATEX} ${BASE} | |
[9fce933a] | 68 | |
[72b20c9] | 69 | generic-timing.tex : generic-timing.gp generic-timing.dat ${BUILD} |
[6cb935d] | 70 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/generic-timing.gp |
[72b20c9] | 71 | |
72 | tests-completed.tex : algo-summary.gp algo-summary.dat bu-summary.dat ${BUILD} | |
73 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/algo-summary.gp | |
[a72b240] | 74 | |
[4c41b17] | 75 | per-prob-histo.tex : per-prob.gp per-prob.tsv ${BUILD} |
76 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob.gp | |
77 | ||
[060b12d] | 78 | per-prob-depth.tex : per-prob-scatter.gp ${BUILD} |
79 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob-scatter.gp | |
80 | ||
[83a09648] | 81 | cfa-time.tex : cfa-plots.gp cfa-time.tsv cfa-mem.tsv ${BUILD} |
82 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/cfa-plots.gp | |
83 | ||
[9fce933a] | 84 | ${BUILD}: |
85 | mkdir -p ${BUILD} |
Note: See TracBrowser
for help on using the repository browser.