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

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

Added benchmark results to generic chapter of thesis

  • Property mode set to 100644
File size: 1.2 KB
Line 
1BUILD = build
2BIBDIR = ../../../bibliography
3EVALDIR = evaluation
4TEXLIB = .:${BUILD}:${BIBDIR}:
5
6# LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && pdflatex -interaction=nonstopmode -halt-on-error -output-directory=${BUILD}
7LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD}
8BIBTEX = BIBINPUTS=${TEXLIB} && export BIBINPUTS && bibtex
9
10VPATH = ${EVALDIR}
11
12BASE = thesis
13DOCUMENT = ${BASE}.pdf
14BIBFILE = ${BIBDIR}/pl.bib
15
16SOURCES = ${addsuffix .tex, \
17thesis \
18macros \
19cfa-macros \
20frontpgs \
21introduction \
22background \
23generic-types \
24type-environment \
25resolution-heuristics \
26conclusion \
27}
28
29GRAPHS = ${addsuffix .tex, \
30generic-timing \
31}
32
33.PHONY : all rebuild-refs clean wc
34
35all : ${DOCUMENT}
36
37clean : 
38        @rm -fv ${BUILD}/*
39
40wc :
41        wc ${SOURCES}
42
43${DOCUMENT} : ${BASE}.ps
44        ps2pdf ${BUILD}/$<
45
46${BASE}.ps : ${BASE}.dvi
47        dvips ${BUILD}/$< -o ${BUILD}/$@
48
49${BASE}.dvi : Makefile ${SOURCES} ${GRAPHS} ${BIBFILE} ${BUILD}
50        ${LATEX} ${BASE}
51        ${BIBTEX} ${BUILD}/${BASE}
52        ${LATEX} ${BASE}
53        ${LATEX} ${BASE}
54
55${GRAPHS} : generic-timing.gp generic-timing.dat ${BUILD}
56        gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/generic-timing.gp
57
58${BUILD}: 
59        mkdir -p ${BUILD}
Note: See TracBrowser for help on using the repository browser.