ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 63aea5a was
5a3d67c,
checked in by Andrew Beach <ajbeach@…>, 4 years ago
|
Cleaned up AB M template some more and add the Makefile.
|
-
Property mode set to
100644
|
File size:
803 bytes
|
Rev | Line | |
---|
[5a3d67c] | 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 | TEXLIB= .:${BUILD}: |
---|
| 8 | BIBLIB= .:../../bibliography |
---|
| 9 | |
---|
| 10 | # Since tex programs like to add their own file extensions: |
---|
| 11 | BASE= ${DOC:%.pdf=%} |
---|
| 12 | |
---|
| 13 | ### Special Rules: |
---|
| 14 | |
---|
| 15 | .PHONY: all clean deepclean |
---|
| 16 | |
---|
| 17 | ### Commands: |
---|
| 18 | LATEX=TEXINPUTS=${TEXLIB} pdflatex -halt-on-error -output-directory=${BUILD} |
---|
| 19 | BIBTEX=BIBINPUTS=${BIBLIB} bibtex |
---|
| 20 | GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite |
---|
| 21 | |
---|
| 22 | ### Rules and Recipies: |
---|
| 23 | |
---|
| 24 | all: ${DOC} |
---|
| 25 | |
---|
| 26 | ${BUILD}/${DOC}: ${TEXSRC} ${BIBSRC} Makefile | ${BUILD} |
---|
| 27 | ${LATEX} ${BASE} |
---|
| 28 | ${BIBTEX} ${BUILD}/${BASE} |
---|
| 29 | ${GLOSSARY} ${BUILD}/${BASE} |
---|
| 30 | ${LATEX} ${BASE} |
---|
| 31 | ${LATEX} ${BASE} |
---|
| 32 | |
---|
| 33 | ${DOC}: ${BUILD}/${DOC} |
---|
| 34 | cp $< $@ |
---|
| 35 | |
---|
| 36 | ${BUILD}: |
---|
| 37 | mkdir $@ |
---|
| 38 | |
---|
| 39 | clean: |
---|
| 40 | -@rm -rv ${BUILD} |
---|
| 41 | |
---|
| 42 | deepclean: clean |
---|
| 43 | -@rm -v ${DOC} |
---|
Note: See
TracBrowser
for help on using the repository browser.