blob: b394dead4835c2d873439fa3054b3a743eaa917f (
plain) (
tree)
|
|
SHELL=bash
TARGET=$(subst .tex,.pdf,$(wildcard opdracht*/opdracht*.tex) paper/paper.tex)
all: $(TARGET)
%.pdf : %.tex
cd `dirname $<` && \
pdflatex -shell-escape `basename $<` && \
bibtex `basename -s .tex $<`.aux; \
pdflatex -shell-escape `basename $<` && \
pdflatex -shell-escape `basename $<` && \
cd ..
|