source:
doc/theses/aaron_moss_PhD/phd/Makefile@
4eaefd1
| Last change on this file since 4eaefd1 was 83a09648, checked in by , 7 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 \ |
| 29 | } | |
| 30 | ||
| [3deb316] | 31 | FIGURES = ${addsuffix .eps, \ |
| [902b123] | 32 | safe-conv-graph \ |
| [3deb316] | 33 | resolution-dag \ |
| [b4fd981] | 34 | union-find-with-classes \ |
| 35 | persistent-union-find \ | |
| [3deb316] | 36 | } |
| 37 | ||
| [6cb935d] | 38 | GRAPHS = ${addsuffix .tex, \ |
| 39 | generic-timing \ | |
| [72b20c9] | 40 | tests-completed \ |
| [4c41b17] | 41 | per-prob-histo \ |
| [060b12d] | 42 | per-prob-depth \ |
| [83a09648] | 43 | cfa-time \ |
| [6cb935d] | 44 | } |
| 45 | ||
| [62e782e] | 46 | .PHONY : all rebuild-refs clean wc |
| [2a9d12d] | 47 | |
| 48 | all : ${DOCUMENT} | |
| 49 | ||
| 50 | clean : | |
| [9fce933a] | 51 | @rm -fv ${BUILD}/* |
| [2a9d12d] | 52 | |
| [62e782e] | 53 | wc : |
| 54 | wc ${SOURCES} | |
| 55 | ||
| [a72b240] | 56 | ${DOCUMENT} : ${BASE}.ps |
| 57 | ps2pdf ${BUILD}/$< | |
| 58 | ||
| 59 | ${BASE}.ps : ${BASE}.dvi | |
| 60 | dvips ${BUILD}/$< -o ${BUILD}/$@ | |
| [2a9d12d] | 61 | |
| [3deb316] | 62 | ${BASE}.dvi : Makefile ${SOURCES} ${GRAPHS} ${FIGURES} ${BIBFILE} ${BUILD} |
| [2a9d12d] | 63 | ${LATEX} ${BASE} |
| [9fce933a] | 64 | ${BIBTEX} ${BUILD}/${BASE} |
| [2a9d12d] | 65 | ${LATEX} ${BASE} |
| 66 | ${LATEX} ${BASE} | |
| [9fce933a] | 67 | |
| [72b20c9] | 68 | generic-timing.tex : generic-timing.gp generic-timing.dat ${BUILD} |
| [6cb935d] | 69 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/generic-timing.gp |
| [72b20c9] | 70 | |
| 71 | tests-completed.tex : algo-summary.gp algo-summary.dat bu-summary.dat ${BUILD} | |
| 72 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/algo-summary.gp | |
| [a72b240] | 73 | |
| [4c41b17] | 74 | per-prob-histo.tex : per-prob.gp per-prob.tsv ${BUILD} |
| 75 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob.gp | |
| 76 | ||
| [060b12d] | 77 | per-prob-depth.tex : per-prob-scatter.gp ${BUILD} |
| 78 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob-scatter.gp | |
| 79 | ||
| [83a09648] | 80 | cfa-time.tex : cfa-plots.gp cfa-time.tsv cfa-mem.tsv ${BUILD} |
| 81 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/cfa-plots.gp | |
| 82 | ||
| [9fce933a] | 83 | ${BUILD}: |
| 84 | mkdir -p ${BUILD} |
Note:
See TracBrowser
for help on using the repository browser.