-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 800 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (23 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Build the technical report PDF.
#
# Requires a working LaTeX install (TeXLive, MiKTeX, MacTeX) with
# pdflatex + bibtex on PATH. No external .sty files needed.
#
# Targets:
# make -> build main.pdf (default)
# make clean -> remove build artefacts (keeps main.pdf)
# make distclean -> remove main.pdf as well
MAIN = main
.PHONY: all clean distclean
all: $(MAIN).pdf
$(MAIN).pdf: $(MAIN).tex refs.bib figures/*.png
pdflatex -interaction=nonstopmode $(MAIN).tex
bibtex $(MAIN)
pdflatex -interaction=nonstopmode $(MAIN).tex
pdflatex -interaction=nonstopmode $(MAIN).tex
pdflatex -interaction=nonstopmode $(MAIN).tex
clean:
rm -f $(MAIN).aux $(MAIN).bbl $(MAIN).blg $(MAIN).log \
$(MAIN).out $(MAIN).toc $(MAIN).synctex.gz
distclean: clean
rm -f $(MAIN).pdf