doc.dvi:
-include $(HOME)/.GNUmakeConfig

TEX=latex
SECTIONS= intro makeIntro GenericDesign AutoDepends Debugging  Summary
#OtherTools
#GmakeLanguage

-include $(HOME)/.GNUmakeRules
# These should come after the basic rules.
 

%.dvi: %.tex
	$(run-tex-section)

doc.dvi: doc.tex $(SECTIONS:%=%.tex) header.tex footer.tex make.bib
	$(run-tex)
	$(run-tex)
	bibtex $*
	$(run-tex)


ispell:
	ispell $(SECTIONS:%=%.tex)

# This doesn't quite work because if we change the .tex file
# there is no dependency on it. a.dvi b.dvi should depend
# a.tex and b.tex respectively rather than both on the
# pair of tex files.
#$(SECTIONS:%=%.dvi): 
#	$(run-tex-section)


SRCS= a.c b.c fortran.f f90.f z.c A.cc B.cxx

fort:
	@echo $(FOBJS)
	@echo $(OBJS)
