.POSIX:

all: essayone.pdf essaytwo.pdf essaythree.pdf

%.pdf: %.tex %.bib
	pdflatex $*.tex
	bibtex8 $*
	pdflatex $*.tex
	pdflatex $*.tex

clean:
	rm -f essay{one,two,three}{-blx.bib,.{aux,bbl,bcf,blg,log,out,pdf,run.xml}}