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).
The following articles offer some help with this:
Alternatively, one can use the following utility:
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.
...previous | up (conts) | next... |