1TEX = pdflatex -shell-escape -interaction=nonstopmode -file-line-error 2PRE = $(TEX) -ini -job-name="preamble" "&pdflatex preamble.tex\dump" 3BIB = bibtex 4 5all: cmsv4.pdf 6 7view : 8 open cmsv4.pdf 9 10cmsv4.pdf : cmsv4.tex cmsv4.bbl cmsv4.blg 11 $(TEX) cmsv4.tex 12 13cmsv4.bbl cmsv4.blg : cmsv4.bib cmsv4.aux 14 $(BIB) cmsv4 15 16cmsv4.aux : cmsv4.tex 17 $(TEX) cmsv4.tex 18 19cmsv4.bib : cmsv4.tex 20 $(TEX) cmsv4.tex 21 22clean: 23 rm -f *.aux *.bbl *.out cmsv4.pdf *.log *.blg 24