aboutsummaryrefslogtreecommitdiff
path: root/Practical2/report/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Practical2/report/Makefile')
-rw-r--r--Practical2/report/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Practical2/report/Makefile b/Practical2/report/Makefile
new file mode 100644
index 0000000..6f88cef
--- /dev/null
+++ b/Practical2/report/Makefile
@@ -0,0 +1,14 @@
+TEX=pdflatex
+OBJS=report.pdf report-print.pdf
+
+all:
+ latexmk -pdf -pdflatex="pdflatex -shell-escape" report.tex
+ pdflatex -shell-escape '\input{report-print}\input{report}'
+ pdflatex -shell-escape '\input{report-print}\input{report}'
+
+clean:
+ for pdf in $(OBJS); do latexmk -cd -c "$$pdf"; done
+
+FORCE:
+
+