all: bbst.pdf bbst.ps bbst.dvi Makefile

clean: Makefile
	rm -f *.dvi *.log *.ps *.pdf *.aux *~
eps: dia10.eps dia11.eps dia2.eps homoto0.eps homoto1.eps homoto5.eps 

homoto0.eps: homoto0.fig
	fig2dev -L eps homoto0.fig homoto0.eps
homoto1.eps: homoto1.fig
	fig2dev -L eps homoto1.fig homoto1.eps
homoto5.eps: homoto5.fig
	fig2dev -L eps homoto5.fig homoto5.eps
bbst.pdf: eps bbst.ps Makefile
	ps2pdf bbst.ps bbst.pdf 
bbst.ps: eps bbst.dvi Makefile
	dvips bbst
bbst.dvi: eps bbst.tex bbstI.tex bbstA.tex bbstC.tex bbstH.tex bbstX.tex Makefile
	latex bbst && latex bbst && latex bbst
