From 4e7c67d491aca631a57275f653f424616f03aec0 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 8 Sep 2016 09:54:24 +0200 Subject: Makefile: added blackboard target --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') 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) -- cgit v1.2.3