From c5d325201f558c5fa8f1c12b2b7271d5252ad4d3 Mon Sep 17 00:00:00 2001
From: Jannik Dunkelau <jannik.dunkelau@hhu.de>
Date: Tue, 19 Oct 2021 16:20:29 +0200
Subject: [PATCH] Update Makefile

---
 Makefile | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index 56adf2c..9432d2a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,18 @@
-.PHONY: install
-install:
-	latexmk -pdf thesis.tex
+.PHONY: all
+all: article
+
+.PHONY:article
+article:
+	latexmk -pdf ${PVC} -pdflatex="pdflatex -synctex=1 -interaction=nonstopmode" thesis.tex
 
 .PHONY: watch
-watch:
-	latexmk -pvc thesis.tex
+watch: PVC=-pvc
+watch: article
 
 .PHONY: clean
 clean:
-	latexmk -C thesis.tex
+	latexmk -C -bibtex
+	rm *.loa *.lol *.tdo
 
 .PHONY: zip
 zip:
-- 
GitLab