diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) |