Difference between revisions of "MakeDepend"

From WikiROMS
Jump to navigationJump to search
(first draft)   (change visibility)
(No difference)

Revision as of 01:16, 3 November 2006

The file Compilers/MakeDepend is generated automatically by executing "make depend" from the top-level directory. It is included by the top-level makefile and contains dependency information to make sure that everything gets recompiled in the correct order after source files are edited. Fortran 90 with use of the C Processor has include dependencies of both the cpp and Fortran flavor, plus module dependencies; all three types are placed into the MakeDepend file.

The dependency checking program is a Perl[1] script called sfmakedepend. This is in the Bin directory and typing "Bin/sfmakedepend --man" will present you with a man page.