6. Make with Fortran 90

Many people have had difficulty getting the Unix make utility to work with Fortran 90/95 compilers (owing to the existence of auxilliary files in addition to object files from the compilation of Fortran 90 modules).

6.1. External Resources

The following articles offer some help with this:

Alternatively, one can use the following utility:

6.2. Makefile Example

At the end of this document there is a full listing of a real-world example of a Makefile which builds a numerical/computational ocean model. Here the dependencies of particular modules on others is explicitly given so that when the source of one module is changed only necessary (i.e., dependent) modules are re-compiled.


...previousup (conts)next...



About this document:

Produced from the SGML: /home/isd/public_html/_compilers_unix_fortran/_reml_grp/compilers_Fortran.reml
On: 20/2/2002 at 9:56:3
Options: reml2 -i noindex -l long -o html -p multiple