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

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

thesis: port figures from presentation into union-find chapter

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