summaryrefslogblamecommitdiff
path: root/Makefile
blob: b394dead4835c2d873439fa3054b3a743eaa917f (plain) (tree)
1
2
3
4
5
6
7
8
9
          
                                                                             


              
                                                         
                                                   

                                                         
 
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 ..