summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCamil Staps2016-02-09 22:17:30 +0100
committerCamil Staps2016-02-09 22:17:30 +0100
commita1f9e0fda50fc4adbd8dcab33ff8316908037076 (patch)
tree0bcfe10c5524c98b9a2d0bedcfcfbbd7f8ef7908 /Makefile
Initial commit; sum. chap 3; disc. 2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ed52353
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+TARGET=summary.pdf $(subst .tex,.pdf,$(wildcard discussion-*.tex))
+
+all: $(TARGET)
+
+summary.pdf: summary.tex $(shell ls sum-*.tex) discussion.sty
+ latexmk $<
+
+%.pdf: %.tex $(shell ls sum-*.tex) discussion.sty
+ latexmk $<
+
+clean:
+ pdflatex -c
+
+.PHONY: clean
+
+