1 SOURCEST = $(wildcard *.tex)
2 OBJECTST = $(patsubst %.tex, %.pdf, $(SOURCEST))
3 SOURCESA = $(wildcard *.lagda)
4 OBJECTSA = $(patsubst %.lagda, %.pdf, $(SOURCESA))
5 OBJECTS = $(OBJECTST) $(OBJECTSA)
9 thesis.pdf: thesis.tex thesis.bib agda.sty
10 pdflatex -halt-on-error $< -o $@
12 pdflatex -halt-on-error $< -o $@
13 pdflatex -halt-on-error $< -o $@
17 thesis.tex: thesis.lagda
18 agda --latex --latex-dir . -i . -i ~/src/agda-lib/src/ thesis.lagda
20 InterimReport.pdf: InterimReport.tex InterimReport.bib InterimReport.agda
21 xelatex -halt-on-error $< -o $@
23 xelatex -halt-on-error $< -o $@
24 xelatex -halt-on-error $< -o $@
26 idris-proposal.pdf: idris-proposal.tex
27 xelatex -halt-on-error $< -o $@
28 xelatex -halt-on-error $< -o $@
32 rm -f thesis.tex agda.sty
35 rm -f *.log *.aux *.nav *.snm *.toc *.vrb *.out *.bbl *.blg *.agdai