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

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since f9c7d27 was 3271166, checked in by Aaron Moss <a3moss@…>, 6 years ago

Merge branch 'master' of plg2.cs.uwaterloo.ca:software/cfa/cfa-cc

  • Property mode set to 100644
File size: 797 bytes
Line 
1BUILD = build
2BIBDIR = ../../../bibliography
3TEXLIB = .:${BUILD}:${BIBDIR}:
4
5LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && pdflatex -interaction= -output-directory=${BUILD}
6BIBTEX = BIBINPUTS=${TEXLIB} && export BIBINPUTS && bibtex
7
8BASE = thesis
9DOCUMENT = ${BASE}.pdf
10BIBFILE = ${BIBDIR}/pl.bib
11
12SOURCES = ${addsuffix .tex, \
13thesis \
14macros \
15cfa-macros \
16frontpgs \
17introduction \
18background \
19type-environment \
20resolution-heuristics \
21conclusion \
22}
23
24.PHONY : all rebuild-refs clean wc
25
26all : ${DOCUMENT}
27
28clean : 
29        @rm -fv ${BUILD}/*
30
31wc :
32        wc ${SOURCES}
33
34${DOCUMENT} : ${SOURCES} ${BUILD}
35        ${LATEX} ${BASE}
36        ${LATEX} ${BASE}
37
38rebuild-refs : ${SOURCES} ${BIBFILE} ${BUILD}
39        ${LATEX} ${BASE}
40        ${BIBTEX} ${BUILD}/${BASE}
41        ${LATEX} ${BASE}
42        ${LATEX} ${BASE}
43
44${BUILD}: 
45        mkdir -p ${BUILD}
Note: See TracBrowser for help on using the repository browser.