diff options
author | Camil Staps | 2016-09-08 09:54:24 +0200 |
---|---|---|
committer | Camil Staps | 2016-09-08 09:54:24 +0200 |
commit | 4e7c67d491aca631a57275f653f424616f03aec0 (patch) | |
tree | b1d4f714139c0725a1e24ee71cf882f777f2edb2 /Makefile | |
parent | College 1 (diff) |
Makefile: added blackboard target
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) |