aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 317e59420343224c9d34a2302b91c84d949f861b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
TARGET=$(subst .tex,.pdf,$(wildcard *.tex)) 
 
all: $(TARGET) 
 
%.dep: %.tex 
        perl -lnwe 'print "$*.pdf: $$1" if /\\input{([\w-]+\.tex)}/' <$< >$@ 
 
include $(TARGET:.pdf=.dep) 

samenvatting.pdf : samenvatting.tex
        xelatex $< 
        xelatex $< 
 
genesis.pdf : genesis.tex 
        xelatex $< 
        xelatex $< 
 
%.pdf : %.tex 
        latexmk -pdf $< 
 
clean: 
        latexmk -c 
        rm -f *.dep 
 
.PHONY: clean