%.dvi:   %.tex book.def
	amstex $<

RES = -D600

%.ps:	%.dvi
	dvips $(RES) $<

table1.ps: table1.dvi
	dvips $(RES) -O 0in,-0.25in table1.dvi

getall: textsources tablesources

textsources: book.def contents.tex chapter1.tex chapter2.tex examples.tex \
		chapter3.tex chapter4.tex biblio.tex

tablesources:  book.def table1source table2source table3source table4source
table1source:  table1.tex table1.def table1.dat
table2source:  table2.tex table2.dat
table3source:  table3.tex table3.dat
table4source:  table4.tex table4.dat
table5source:  table5.tex table5.dat

chapter1: chapter1.dvi
chapter2: chapter2.dvi
chapter3: chapter3.dvi
chapter4: chapter4.dvi
biblio: biblio.dvi
contents: contents.dvi
examples: examples.dvi

table1: table1.tex table1.def table1.dat book.def
	amstex table1

table2: table2.tex table2.dat book.def
	amstex table2

table3: table3.tex table3.dat book.def
	amstex table3

table4: table4.tex table4.dat book.def
	amstex table4

table5: table5.tex table5.dat book.def
	amstex table5

tables: table1 table2 table3 table4 table5 addenda

text: contents chapter1 chapter2 examples chapter3 biblio errata

errata.dvi: errata.tex
	tex errata

errata: errata.dvi errata.doc

addenda: addenda.dvi addenda.doc

all: text tables

clean: 
	rm -f *.dvi *.ps *.log *~
	rcsclean
#	sccs clean


