Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian@jauslin.org>2020-10-26 18:16:22 -0400
committerIan Jauslin <ian@jauslin.org>2020-10-26 18:23:05 -0400
commitd043ba6699984a6e203cde26d967e6d1880dccf1 (patch)
tree717fe750836a903e8b6cb00ea6cb1a7c17f0021c /Makefile
Initial commitv0.0
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