all: saga.ps CHAPTERS=cover mst notation ram adv rank %.dvi: %.tex macros.tex biblio.bib tex $< && bibtex $* && tex $< && tex $< saga.dvi: $(addsuffix .tex,$(CHAPTERS)) %.ps: %.dvi dvips -D600 -o $@ -t a4 $< %.pdf: %.dvi dvipdfm -o $@ -p a4 -r 600 -z 9 $< mostlyclean: rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.ids clean:: mostlyclean rm -f *.ps *.pdf .SECONDARY: