bug-make
[Top][All Lists]
Advanced

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

Re: bugs fixed in -bk4


From: Boris Kolpackov
Subject: Re: bugs fixed in -bk4
Date: Sat, 26 Jun 2004 17:17:55 -0500
User-agent: Mutt/1.5.6i

Sam Ravnborg <address@hidden> writes:

> >From info make:
> >>>>>>>>>>>>>>>>>>>>>
> Rule Definition
> ---------------
>
>    A rule is always expanded the same way, regardless of the form:
>
>      IMMEDIATE : IMMEDIATE ; DEFERRED
>         DEFERRED
>
>    That is, the target and prerequisite sections are expanded
> immediately, and the commands used to construct the target are always
> deferred.
> >>>>>>>>>>>>>>>>>>>>>>>
>
> Given the above information from info make I agree with Boris on this.
> Both 'a' and 'arg' should be considered IMMEDIATE according to the snippet
> included.

I am glad you agree with me ;-). To be precise, however, I must say that
the snippet you cited does not apply here since it is talking about rule
definition while I was talking about target specific variable definition.
I don't think there is a part in the manual that specifies at what point
target-specific variables get expanded so it is in some sense an
implementation-defined behavior which, I must say, gets very tricky when
it comes to target-specific variable inheritance, +=, etc. I think
immediate evaluation is less surprising, though.


-boris

Attachment: signature.asc
Description: Digital signature


reply via email to

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