34 lines
734 B
Makefile
34 lines
734 B
Makefile
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
|