make-alpha
[Top][All Lists]
Advanced

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

Re: Clarification on :::= Variable Assignment Operator?


From: Paul Smith
Subject: Re: Clarification on :::= Variable Assignment Operator?
Date: Fri, 04 Feb 2022 12:51:00 -0500
User-agent: Evolution 3.36.5-0ubuntu1

On Fri, 2022-02-04 at 11:50 -0500, David A. Wheeler wrote:
> You can blame me :-).
> 
> There's a need in makefiles to assign variables (macros) so that the
> expansions happen once instead of recursively in every use.
> Large makefiles start to hit exponential slowdowns if you can't deal with it.
> Unfortunately, GNU make and BSD make's := have significantly
> different semantics, making standardization a challenge.
> The proposed solution was to create ::= with GNU make := semantics,
> so that there would be an operation that would work the same everywhere.

::= was an alias for GNU make's long-standing :=.  That's been
available for quite a while.

Jon is asking about :::= which is a recent addition, demanded by Joerg
last fall.




reply via email to

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