MakeDepend

From WikiROMS
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
MakeDepend

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 Preprocessor 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.