[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make and Fortran modules

From: Noel David Torres Taño
Subject: Re: Make and Fortran modules
Date: Tue, 6 Apr 2010 16:29:06 +0200
User-agent: KMail/1.9.9

On Tuesday 06 April 2010 16:08:07 Alberto Luaces wrote:
> IMHO, the real solution would be to address the relationship between a
> .F95 file and the modules it depends on, avoiding the recompilation if
> the interface has not been changed. This is what the paper addresses
> through several methods.

But that has another disadvantage, namely that if module file is not touched, 
it will be always considered out of date and will always trigger the complete 
cascade, even if itself ends up unchanged.


exe depends on a.o
a.o depends on b.mod
b.F95 is changed but interface does not change

make exe: exe depends indirectly on b.mod so b.mod, a.o and exe are (both 
three) scheduled to be remade.
make exe again: b.mod is still out of date so the complete cascade runs again, 
instead of "exe is up to date"


Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]