source: doc/theses/aaron_moss_PhD/phd/Makefile @ 72b20c9

aaron-thesisarm-ehcleanup-dtorsjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-expr
Last change on this file since 72b20c9 was 72b20c9, checked in by Aaron Moss <a3moss@…>, 3 years ago

thesis: Add charts and discussion of summary results for different algorithms

  • Property mode set to 100644
File size: 1.5 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 \
29}
30
31FIGURES = ${addsuffix .eps, \
32safe-conv-graph \
33resolution-dag \
34union-find-with-classes \
35persistent-union-find \
36}
37
38GRAPHS = ${addsuffix .tex, \
39generic-timing \
40tests-completed \
41}
42
43.PHONY : all rebuild-refs clean wc
44
45all : ${DOCUMENT}
46
47clean : 
48        @rm -fv ${BUILD}/*
49
50wc :
51        wc ${SOURCES}
52
53${DOCUMENT} : ${BASE}.ps
54        ps2pdf ${BUILD}/$<
55
56${BASE}.ps : ${BASE}.dvi
57        dvips ${BUILD}/$< -o ${BUILD}/$@
58
59${BASE}.dvi : Makefile ${SOURCES} ${GRAPHS} ${FIGURES} ${BIBFILE} ${BUILD}
60        ${LATEX} ${BASE}
61        ${BIBTEX} ${BUILD}/${BASE}
62        ${LATEX} ${BASE}
63        ${LATEX} ${BASE}
64
65generic-timing.tex : generic-timing.gp generic-timing.dat ${BUILD}
66        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/generic-timing.gp
67       
68tests-completed.tex : algo-summary.gp algo-summary.dat bu-summary.dat ${BUILD}
69        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/algo-summary.gp
70
71${BUILD}: 
72        mkdir -p ${BUILD}
Note: See TracBrowser for help on using the repository browser.