< /p>
But in any case, it is easier to use Scons or waf than to use. At least Scons is completely independent of the compiler automatically.
Otherwise see http://lagrange.mechse.illinois.edu/ mwest/f90_mod_deps/
or http://personal.inet.fi/private/erikedelmann/makedepf90/
Is there a compiler for INTEL Fortran The options for automatically generating dependencies, such as the “-MM” option of the c/c compiler, can we use it in the makefile?
-gen-dep does this, but I have a problem when using the preprocessor.
But anyway, use Scons Or waf is easier than using. At least Scons is completely independent of the compiler automatically.
Otherwise see http://lagrange.mechse.illinois.edu/mwest/f90_mod_deps/
or http://personal.inet.fi/private/erikedelmann/makedepf90/