[patch, fortran] output of Makefile dependencies
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Oct 2 15:34:00 GMT 2010
On Sat, Oct 02, 2010 at 10:00:06AM +0200, Tobias Burnus wrote:
> Hi Ralf,
>
> Ralf Wildenhues wrote:
> >>>On Sun, Jun 13, 2010 at 02:36:46PM +0200, Daniel Franke wrote:
> >>>>Attached patch enables the output of Makefile dependencies.
> >>>>It handles '#include', 'INCLUDE' and module targets/use dependencies
> >>>>alike.
> >[Issue about order due to the required reading of the .mod files]
>
> (I think that's going to be a difficult issue. One probably needs to
> write a separate parser for this, which ignores all the rest and only
> parses USE statements and INCLUDE lines - and handles the CPP
> preprocessor's #include - including dependencies of those
> INCLUDEd/#included files.)
>
It will also have to deal with virtual modules. For
example, iso_binding_c is never written to disk, so the
automatic tool needs to pass over 'use iso_binding_c'.
--
Steve
More information about the Fortran
mailing list