next up previous
Next: GNU/Linux Installation Notes Up: Mofia 2.0 Implementation Notes Previous: Module Coding Rules

Module dependencies

In constructing Makefiles for f90 programs the interdependency of modules through USE association is a consideration. This is very similar to the dependency of f77 routines to changes to their included files. Morgan Burke has developed for E787 a makedepend script to take this into account, and we have expanded it to include USE associated files. Running makedepend.csh in a directory containing .f90 files creates a Dependencies file specifying all dependency rules. This file is included in the Makefile to guide the compilations. The ordering of the modules in the Makefile should have dependant modules following their dependees.

Art Olin 2001-04-20