Difference between revisions of "MakeDepend"

From WikiROMS
Jump to navigationJump to search
(first draft)   (change visibility)
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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 [[Make#Dependencies|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-preprocessing|C Processor]] has include dependencies of both the '''cpp''' and '''Fortran''' flavor, plus '''module''' dependencies; all three types are placed into the '''MakeDepend''' file.
<div class="title">MakeDepend</div>
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 [[Make#Dependencies|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 [http://www.perl.org/ Perl][http://www.perl.com] script called '''sfmakedepend'''. This is in the '''Bin''' directory and typing "'''Bin/sfmakedepend --man'''" will present you with a man page.
The dependency checking program is a [http://www.perl.org/ Perl][http://www.perl.com] script called '''sfmakedepend'''. This is in the '''Bin''' directory and typing "'''Bin/sfmakedepend --man'''" will present you with a man page.

Latest revision as of 18:49, 8 December 2006

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.