targets = diss

all: $(targets)

pdf: $(targets)

diss: diss.tex
	pdflatex -draftmode $<
	bibtex $@
	pdflatex $<
	pdflatex $<

clean: 
	        rm -f *.{aux,bbl,out,spl,log,blg,toc,dvi,fls} $(targets).pdf
.PHONY: clean
