source: doc/theses/aaron_moss_PhD/phd/Makefile @ d1b1063

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since d1b1063 was d1b1063, checked in by Aaron Moss <a3moss@…>, 6 years ago

thesis: Add appendix with generic benchmark code

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[9fce933a]1BUILD = build
2BIBDIR = ../../../bibliography
[6cb935d]3EVALDIR = evaluation
[3deb316]4FIGDIR = figures
[9fce933a]5TEXLIB = .:${BUILD}:${BIBDIR}:
6
[a72b240]7# LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && pdflatex -interaction=nonstopmode -halt-on-error -output-directory=${BUILD}
8LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD}
[9fce933a]9BIBTEX = BIBINPUTS=${TEXLIB} && export BIBINPUTS && bibtex
[2a9d12d]10
[3deb316]11VPATH = ${EVALDIR} ${FIGDIR}
[6cb935d]12
[2a9d12d]13BASE = thesis
14DOCUMENT = ${BASE}.pdf
[9fce933a]15BIBFILE = ${BIBDIR}/pl.bib
[2a9d12d]16
[62e782e]17SOURCES = ${addsuffix .tex, \
18thesis \
[0cf9ffd]19macros \
20cfa-macros \
[62e782e]21frontpgs \
22introduction \
23background \
[48b7085e]24generic-types \
[62e782e]25resolution-heuristics \
[0e6a0beb]26type-environment \
27experiments \
[62e782e]28conclusion \
[d1b1063]29generic-bench \
[62e782e]30}
31
[3deb316]32FIGURES = ${addsuffix .eps, \
[902b123]33safe-conv-graph \
[3deb316]34resolution-dag \
[b4fd981]35union-find-with-classes \
36persistent-union-find \
[3deb316]37}
38
[6cb935d]39GRAPHS = ${addsuffix .tex, \
40generic-timing \
[72b20c9]41tests-completed \
[4c41b17]42per-prob-histo \
[060b12d]43per-prob-depth \
[83a09648]44cfa-time \
[6cb935d]45}
46
[62e782e]47.PHONY : all rebuild-refs clean wc
[2a9d12d]48
49all : ${DOCUMENT}
50
51clean : 
[9fce933a]52        @rm -fv ${BUILD}/*
[2a9d12d]53
[62e782e]54wc :
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]69generic-timing.tex : generic-timing.gp generic-timing.dat ${BUILD}
[6cb935d]70        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/generic-timing.gp
[72b20c9]71       
72tests-completed.tex : algo-summary.gp algo-summary.dat bu-summary.dat ${BUILD}
73        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/algo-summary.gp
[a72b240]74
[4c41b17]75per-prob-histo.tex : per-prob.gp per-prob.tsv ${BUILD}
76        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob.gp
77
[060b12d]78per-prob-depth.tex : per-prob-scatter.gp ${BUILD}
79        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob-scatter.gp
80
[83a09648]81cfa-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.