Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..45a7ab9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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