Index: doc/theses/alvin_zhang_MMath/.gitignore
===================================================================
--- doc/theses/alvin_zhang_MMath/.gitignore	(revision 6ab60e91fee945eaec55ab71a436c505a8fdcb1f)
+++ doc/theses/alvin_zhang_MMath/.gitignore	(revision 6ab60e91fee945eaec55ab71a436c505a8fdcb1f)
@@ -0,0 +1,9 @@
+# Intermediate Results:
+build/
+
+# Final Files:
+*.pdf
+*.ps
+
+# The Makefile here is not generated.
+!Makefile
Index: doc/theses/alvin_zhang_MMath/Makefile
===================================================================
--- doc/theses/alvin_zhang_MMath/Makefile	(revision 6ab60e91fee945eaec55ab71a436c505a8fdcb1f)
+++ doc/theses/alvin_zhang_MMath/Makefile	(revision 6ab60e91fee945eaec55ab71a436c505a8fdcb1f)
@@ -0,0 +1,69 @@
+# Configuration variables
+
+Build = build
+Figures = figures
+Pictures = pictures
+
+LaTMac = ../../LaTeXmacros
+BibRep = ../../bibliography
+
+TeXSRC = ${wildcard *.tex}
+FigSRC = ${notdir ${wildcard ${Figures}/*.fig}}
+PicSRC = ${notdir ${wildcard ${Pictures}/*.fig}}
+BibSRC = ${wildcard *.bib}
+
+TeXLIB = .:${LaTMac}:${Build}:			# common latex macros
+BibLIB = .:${BibRep}:				# common citation repository
+
+MAKEFLAGS = --no-print-directory # --silent
+VPATH = ${Build} ${Figures} ${Pictures} # extra search path for file names used in document
+
+DOCUMENT = uw-ethesis.pdf
+BASE = ${basename ${DOCUMENT}}			# remove suffix
+
+# Commands
+
+LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build}
+BibTeX = BIBINPUTS=${BibLIB} && export BIBINPUTS && bibtex
+Glossary = INDEXSTYLE=${Build} makeglossaries-lite
+
+# Rules and Recipes
+
+.PHONY : all clean				# not file names
+.PRECIOUS: %.dvi %.ps # do not delete intermediate files
+.ONESHELL :
+
+all : ${DOCUMENT}
+
+clean :
+	@rm -frv ${DOCUMENT} ${Build}
+
+# File Dependencies
+
+%.dvi : ${TeXSRC} ${FigSRC:%.fig=%.tex} ${PicSRC:%.fig=%.pstex} ${BibSRC} ${BibRep}/pl.bib ${LaTMac}/common.tex Makefile | ${Build}
+	${LaTeX} ${BASE}
+	${BibTeX} ${Build}/${BASE}
+	${LaTeX} ${BASE}
+	# if needed, run latex again to get citations
+	if fgrep -s "LaTeX Warning: Citation" ${basename $@}.log ; then ${LaTeX} ${BASE} ; fi
+	${Glossary} ${Build}/${BASE}
+	${LaTeX} ${BASE}
+
+${Build}:
+	mkdir -p $@
+
+%.pdf : ${Build}/%.ps | ${Build}
+	ps2pdf $<
+
+%.ps : %.dvi | ${Build}
+	dvips $< -o $@
+
+%.tex : %.fig | ${Build}
+	fig2dev -L eepic $< > ${Build}/$@
+
+%.ps : %.fig | ${Build}
+	fig2dev -L ps $< > ${Build}/$@
+
+%.pstex : %.fig | ${Build}
+	fig2dev -L pstex $< > ${Build}/$@
+	fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
Index: doc/theses/alvin_zhang_MMath/background.tex
===================================================================
--- doc/theses/alvin_zhang_MMath/background.tex	(revision e373984a5f04ec23e1cb0511fdfd2c235f129b29)
+++ doc/theses/alvin_zhang_MMath/background.tex	(revision 6ab60e91fee945eaec55ab71a436c505a8fdcb1f)
@@ -1,1 +1,4 @@
 \chapter{Background}
+
+\cite{Mokhov18}
+\cite{Gustedi15}
Index: doc/theses/alvin_zhang_MMath/uw-ethesis.bib
===================================================================
--- doc/theses/alvin_zhang_MMath/uw-ethesis.bib	(revision 6ab60e91fee945eaec55ab71a436c505a8fdcb1f)
+++ doc/theses/alvin_zhang_MMath/uw-ethesis.bib	(revision 6ab60e91fee945eaec55ab71a436c505a8fdcb1f)
@@ -0,0 +1,25 @@
+@article{Mokhov18,
+    keywords	= {functional programming, build systems, algorithms},
+    author	= {Mokhov, Andrey and Mitchell, Neil and Peyton Jones, Simon},
+    title	= {Build systems \`{a} la carte},
+    publisher	= {ACM},
+    address	= {New York, NY, USA},
+    volume	= {2},
+    number	= {ICFP},
+    journal	= {Proc. ACM Program. Lang.},
+    month	= jul,
+    year	= 2018,
+}
+ 
+@techreport{Gustedi15,
+    author	= {Jens Gustedt},
+    title	= {Modular {C}},
+    institution	= {INRIA},
+    type	= {Research Report},
+    number	= {8751},
+    address	= {615 rue du Jardin Botanique, Villers-l\`{e}s-Nancy Cedex},
+    month	= jun,
+    year	= 2015,
+    note	= {https://hal.inria.fr/hal-01169491/document},
+    numpages	= 34,
+}
