aboutsummaryrefslogtreecommitdiff
path: root/Practical2/report/Makefile
diff options
context:
space:
mode:
authorCamil Staps2015-12-15 19:53:30 +0000
committerCamil Staps2015-12-15 19:53:30 +0000
commit126288502f64e1959e82bcab21c107f7fbee8f68 (patch)
tree6d759b8cffb8dd3dfd067f60f573507f15ecc3d4 /Practical2/report/Makefile
parentFinish first version report practical 2 (diff)
Finish report practical 2HEADmaster
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:
+
+