summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0928664..714a2f8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,21 @@ TEX=pdflatex
TEXFLAGS=-file-line-error -halt-on-error
TARGET=$(subst .tex,.pdf,$(wildcard *.tex))
+BB=$(subst college-,Staps_opdracht,$(TARGET))
.PHONY: all clean
all: $(TARGET)
+blackboard: $(BB)
+
+Staps_opdracht%.pdf: college-%.pdf
+ cp $< $@
+
%.pdf: %.tex
$(TEX) $(TEXFLAGS) $< &&\
$(TEX) $(TEXFLAGS) $<
clean:
latexmk -C
+ $(RM) $(BB)