source: doc/theses/aaron_moss_PhD/phd/Makefile @ 6eed619

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 6eed619 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
Line 
1BUILD = build
2BIBDIR = ../../../bibliography
3EVALDIR = evaluation
4FIGDIR = figures
5TEXLIB = .:${BUILD}:${BIBDIR}:
6
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}
9BIBTEX = BIBINPUTS=${TEXLIB} && export BIBINPUTS && bibtex
10
11VPATH = ${EVALDIR} ${FIGDIR}
12
13BASE = thesis
14DOCUMENT = ${BASE}.pdf
15BIBFILE = ${BIBDIR}/pl.bib
16
17SOURCES = ${addsuffix .tex, \
18thesis \
19macros \
20cfa-macros \
21frontpgs \
22introduction \
23background \
24generic-types \
25resolution-heuristics \
26type-environment \
27experiments \
28conclusion \
29generic-bench \
30}
31
32FIGURES = ${addsuffix .eps, \
33safe-conv-graph \
34resolution-dag \
35union-find-with-classes \
36persistent-union-find \
37}
38
39GRAPHS = ${addsuffix .tex, \
40generic-timing \
41tests-completed \
42per-prob-histo \
43per-prob-depth \
44cfa-time \
45}
46
47.PHONY : all rebuild-refs clean wc
48
49all : ${DOCUMENT}
50
51clean : 
52        @rm -fv ${BUILD}/*
53
54wc :
55        wc ${SOURCES}
56
57${DOCUMENT} : ${BASE}.ps
58        ps2pdf ${BUILD}/$<
59
60${BASE}.ps : ${BASE}.dvi
61        dvips ${BUILD}/$< -o ${BUILD}/$@
62
63${BASE}.dvi : Makefile ${SOURCES} ${GRAPHS} ${FIGURES} ${BIBFILE} ${BUILD}
64        ${LATEX} ${BASE}
65        ${BIBTEX} ${BUILD}/${BASE}
66        ${LATEX} ${BASE}
67        ${LATEX} ${BASE}
68
69generic-timing.tex : generic-timing.gp generic-timing.dat ${BUILD}
70        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/generic-timing.gp
71       
72tests-completed.tex : algo-summary.gp algo-summary.dat bu-summary.dat ${BUILD}
73        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/algo-summary.gp
74
75per-prob-histo.tex : per-prob.gp per-prob.tsv ${BUILD}
76        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob.gp
77
78per-prob-depth.tex : per-prob-scatter.gp ${BUILD}
79        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob-scatter.gp
80
81cfa-time.tex : cfa-plots.gp cfa-time.tsv cfa-mem.tsv ${BUILD}
82        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/cfa-plots.gp
83
84${BUILD}: 
85        mkdir -p ${BUILD}
Note: See TracBrowser for help on using the repository browser.