Ian Jauslin
summaryrefslogtreecommitdiff
blob: 45a7ab92885ccfb70470b2f3268061b58e81ec78 (plain)
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
30
31
32
33
PROJECTNAME=Carlen_Jauslin_Lieb_2020

SYNCTEXS=$(PROJECTNAME).synctex.gz

all: $(PROJECTNAME).pdf

$(PROJECTNAME).pdf: $(PROJECTNAME).bbl
	pdflatex -file-line-error $(PROJECTNAME).tex
	pdflatex -file-line-error $(PROJECTNAME).tex
	pdflatex -synctex=1 $(PROJECTNAME).tex

$(PROJECTNAME).aux:
	pdflatex -file-line-error -draftmode $(PROJECTNAME).tex


$(PROJECTNAME).bbl: $(PROJECTNAME).aux bibliography.bib
	bibtex $(PROJECTNAME).aux


clean-aux:
	rm -f $(PROJECTNAME).aux
	rm -f $(PROJECTNAME).log
	rm -f $(PROJECTNAME).out
	rm -f $(PROJECTNAME).toc
	rm -f $(PROJECTNAME).blg

clean-tex:
	rm -f $(PROJECTNAME).pdf $(PROJECTNAME).synctex.gz

clean-bibliography:
	rm -f $(PROJECTNAME).bbl

clean: clean-aux clean-tex clean-bibliography