all.idx: \
  appams.tex \
  appbabel.tex \
  appctan.tex \
  appfnt.tex \
  appfurth.tex \
  appgen.tex \
  ch1.tex \
  ch2.tex \
  ch3.tex \
  ch4.tex \
  ch5.tex \
  ch6.tex \
  ch7.tex \
  ch8.tex \
  ch9.tex \
  llbib.tex \
  opening.tex \
  appgen.tex \
  all.ind \
  all.sty \
  ;\
        rlatex all

all.dvi: \
  appams.tex \
  appbabel.tex \
  appctan.tex \
  appfnt.tex \
  appfurth.tex \
  appgen.tex \
  ch1.tex \
  ch2.tex \
  ch3.tex \
  ch4.tex \
  ch5.tex \
  ch6.tex \
  ch7.tex \
  ch8.tex \
  ch9.tex \
  llbib.tex \
  opening.tex \
  appgen.tex \
  all.ind \
  all.sty \
  ;\
        rlatex all

repeat: ; rlatex all


all.ind: all.ist all.idx; \
        rmakeindex -c -s all.ist all

all.ps: all.dvi; \
        dvips -e0 -D600 -o all.ps all.dvi

alla4.ps: all.ps; \
        sh a4enlarge

allprint.ps: alla4.ps; \
        sh printbook

clean: ; \
        rm -f *.pk *.tfm *.idx *.toc *.aux *.bak *.zip *.ind *.pdf alla4.ps allprint.ps all.ps *.dvi *.log *.xyc *.tmp *.ilg *.mpx
