ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
Last change
on this file since 01f78e0 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 | |
---|
1 | BUILD = build |
---|
2 | BIBDIR = ../../../bibliography |
---|
3 | EVALDIR = evaluation |
---|
4 | FIGDIR = figures |
---|
5 | TEXLIB = .:${BUILD}:${BIBDIR}: |
---|
6 | |
---|
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} |
---|
9 | BIBTEX = BIBINPUTS=${TEXLIB} && export BIBINPUTS && bibtex |
---|
10 | |
---|
11 | VPATH = ${EVALDIR} ${FIGDIR} |
---|
12 | |
---|
13 | BASE = thesis |
---|
14 | DOCUMENT = ${BASE}.pdf |
---|
15 | BIBFILE = ${BIBDIR}/pl.bib |
---|
16 | |
---|
17 | SOURCES = ${addsuffix .tex, \ |
---|
18 | thesis \ |
---|
19 | macros \ |
---|
20 | cfa-macros \ |
---|
21 | frontpgs \ |
---|
22 | introduction \ |
---|
23 | background \ |
---|
24 | generic-types \ |
---|
25 | resolution-heuristics \ |
---|
26 | type-environment \ |
---|
27 | experiments \ |
---|
28 | conclusion \ |
---|
29 | generic-bench \ |
---|
30 | } |
---|
31 | |
---|
32 | FIGURES = ${addsuffix .eps, \ |
---|
33 | safe-conv-graph \ |
---|
34 | resolution-dag \ |
---|
35 | union-find-with-classes \ |
---|
36 | persistent-union-find \ |
---|
37 | } |
---|
38 | |
---|
39 | GRAPHS = ${addsuffix .tex, \ |
---|
40 | generic-timing \ |
---|
41 | tests-completed \ |
---|
42 | per-prob-histo \ |
---|
43 | per-prob-depth \ |
---|
44 | cfa-time \ |
---|
45 | } |
---|
46 | |
---|
47 | .PHONY : all rebuild-refs clean wc |
---|
48 | |
---|
49 | all : ${DOCUMENT} |
---|
50 | |
---|
51 | clean : |
---|
52 | @rm -fv ${BUILD}/* |
---|
53 | |
---|
54 | wc : |
---|
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 | |
---|
69 | generic-timing.tex : generic-timing.gp generic-timing.dat ${BUILD} |
---|
70 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/generic-timing.gp |
---|
71 | |
---|
72 | tests-completed.tex : algo-summary.gp algo-summary.dat bu-summary.dat ${BUILD} |
---|
73 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/algo-summary.gp |
---|
74 | |
---|
75 | per-prob-histo.tex : per-prob.gp per-prob.tsv ${BUILD} |
---|
76 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob.gp |
---|
77 | |
---|
78 | per-prob-depth.tex : per-prob-scatter.gp ${BUILD} |
---|
79 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob-scatter.gp |
---|
80 | |
---|
81 | cfa-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.