aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 9f201fe2c4d6bce49847ec51bfae01deb0292300 (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