#include <SEP.defs>

figures&: 
	pushd ./../Elastic; cake figures; popd
	pushd ./../Raytr; cake figures; popd
	pushd ./../Tomo1; cake figures; popd
	pushd ./../Tomo2; cake figures; popd

all.dvi: all.tex
        texpr -l -k -1 -d all.tex
        cp all.lof.save all.lof
        texpr -l -k -1 -d all.tex

./../Dvi/SEP78.dvi: all.dvi
	makewritable ./../Dvi/SEP78.dvi
	-mv ./../Dvi/SEP78.dvi ./../Dvi/SEP78.dvi.old
	INSTALL all.dvi ./../Dvi/SEP78.dvi
	-RM_CMD -f all.dvi


view& SEP78.view&: all.dvi
        texpr -v all.dvi

print& SEP78.print&:	all.dvi
        texpr printer=sparc all.dvi

install-to-read&: ./../Dvi/SEP78.dvi SEP78.csh
	INSTALL -c  SEP78.csh OFFBINDIR/SEP78

cleanburn&: allburn allclean

allburn&:
	pushd ./../Elastic; cake burn; popd
	pushd ./../Raytr; cake burn; popd
	pushd ./../Tomo1; cake burn; popd
	pushd ./../Tomo2; cake burn; popd

allclean&: clean
	pushd ./../Abstract; cake clean; popd
	pushd ./../Acknow; cake clean; popd
	pushd ./../Intro; cake clean; popd
	pushd ./../Elastic; cake clean; popd
	pushd ./../Raytr; cake clean; popd
	pushd ./../Tomo1; cake clean; popd
	pushd ./../Tomo2; cake clean; popd
	pushd ./../App-SVD; cake clean; popd
	pushd ./../App-coeff; cake clean; popd
	pushd ./../App-derivatives; cake clean; popd
	pushd ./../App-traveltime; cake clean; popd
	pushd ./../App-traveltime; cake clean; popd
	pushd ./../References; cake clean; popd

clean&:
	-RM_CMD *.dvi *.log *.aux TEX*  *.ps

#include <SEP.prog.rules>
#include <SEP.obj.rules>

