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

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

thesis: further description of resolution algorithm variants

  • 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 \
32}
33
34GRAPHS = ${addsuffix .tex, \
35generic-timing \
36}
37
38.PHONY : all rebuild-refs clean wc
39
40all : ${DOCUMENT}
41
42clean : 
43        @rm -fv ${BUILD}/*
44
45wc :
46        wc ${SOURCES}
47
48${DOCUMENT} : ${BASE}.ps
49        ps2pdf ${BUILD}/$<
50
51${BASE}.ps : ${BASE}.dvi
52        dvips ${BUILD}/$< -o ${BUILD}/$@
53
54${BASE}.dvi : Makefile ${SOURCES} ${GRAPHS} ${FIGURES} ${BIBFILE} ${BUILD}
55        ${LATEX} ${BASE}
56        ${BIBTEX} ${BUILD}/${BASE}
57        ${LATEX} ${BASE}
58        ${LATEX} ${BASE}
59
60${GRAPHS} : generic-timing.gp generic-timing.dat ${BUILD}
61        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/generic-timing.gp
62
63${BUILD}: 
64        mkdir -p ${BUILD}
Note: See TracBrowser for help on using the repository browser.