bug-make
[Top][All Lists]
Advanced

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

Re: simple assignment of target-specific variables


From: David Boyce
Subject: Re: simple assignment of target-specific variables
Date: Tue, 9 Jun 2020 09:36:43 -0700

Yes, that's the suggestion I was making though I don't know the innards of make well enough to know how hard it would be.

David

On Tue, Jun 9, 2020 at 9:21 AM Dmitry Goncharov <dgoncharov@users.sf.net> wrote:
On Tue, Jun 9, 2020 at 12:01 PM David Boyce <david.s.boyce@gmail.com> wrote:
> When I say "needed" here I mean specifically that the recipe runs. Clearly a target-specific variable is 'needed' iff the target is built. It's not a question of how many places the variable is expanded, it's a boolean thing: the target is built or not built, the target-specific variable is needed or not.

You mean for target specific simple variable memory is allocated and
the variable is initialized only if the target is built, right?
Looks reasonable to me.

regards, Dmitry

reply via email to

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