bug-make
[Top][All Lists]
Advanced

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

RE: File timing bug


From: lasse.makholm
Subject: RE: File timing bug
Date: Wed, 11 Jun 2008 13:59:39 +0300

 

>-----Original Message-----
>From: address@hidden 
>[mailto:address@hidden On 
>Behalf Of ext Martin Dorey
>Sent: Tuesday, June 10, 2008 21:29
>To: Herbert Euler; address@hidden
>Subject: RE: File timing bug
>
>(I know from experience that you have to tell make about when 
>you update
>targets that make knows about but I can't quote from the manual to
>support that de jure.  (And I believe that the only way you can safely
>update multiple targets from a single rule is if it's a 
>Pattern Rule but
>not a Static Pattern Rule.)  I was rather hoping I'd provoke a more
>authoritative response from one of the real gurus but perhaps the
>warnocking should be taken as agreement.)

Think of it the other way around; you do not tell make which
targets you update but rather make tells you what targets to
update by invoking your rules.

And you're right that if you update multiple targets from one rule
invocation, you should do it with a pattern rule. Last paragraph of this
section:
http://www.gnu.org/software/make/manual/make.html#Pattern-Intro

/Lasse




reply via email to

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