ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since edf3ff1 was
6e7b969,
checked in by Andrew Beach <ajbeach@…>, 4 years ago
|
Andrew MMath: First draft of existing features and updated framework.
|
-
Property mode set to
100644
|
File size:
855 bytes
|
Line | |
---|
1 | ### Makefile for Andrew Beach's Masters Thesis |
---|
2 | |
---|
3 | DOC=thesis.pdf |
---|
4 | BUILD=out |
---|
5 | TEXSRC=$(wildcard *.tex) |
---|
6 | BIBSRC=$(wildcard *.bib) |
---|
7 | STYSRC=$(wildcard *.sty) |
---|
8 | CLSSRC=$(wildcard *.cls) |
---|
9 | TEXLIB= .:${BUILD}: |
---|
10 | BIBLIB= .:../../bibliography |
---|
11 | |
---|
12 | # Since tex programs like to add their own file extensions: |
---|
13 | BASE= ${DOC:%.pdf=%} |
---|
14 | |
---|
15 | ### Special Rules: |
---|
16 | |
---|
17 | .PHONY: all clean deepclean |
---|
18 | |
---|
19 | ### Commands: |
---|
20 | LATEX=TEXINPUTS=${TEXLIB} pdflatex -halt-on-error -output-directory=${BUILD} |
---|
21 | BIBTEX=BIBINPUTS=${BIBLIB} bibtex |
---|
22 | GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite |
---|
23 | |
---|
24 | ### Rules and Recipies: |
---|
25 | |
---|
26 | all: ${DOC} |
---|
27 | |
---|
28 | ${BUILD}/${DOC}: ${TEXSRC} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD} |
---|
29 | ${LATEX} ${BASE} |
---|
30 | ${BIBTEX} ${BUILD}/${BASE} |
---|
31 | ${GLOSSARY} ${BUILD}/${BASE} |
---|
32 | ${LATEX} ${BASE} |
---|
33 | |
---|
34 | ${DOC}: ${BUILD}/${DOC} |
---|
35 | cp $< $@ |
---|
36 | |
---|
37 | ${BUILD}: |
---|
38 | mkdir $@ |
---|
39 | |
---|
40 | clean: |
---|
41 | -@rm -rv ${BUILD} |
---|
42 | |
---|
43 | deepclean: clean |
---|
44 | -@rm -v ${DOC} |
---|
Note: See
TracBrowser
for help on using the repository browser.