Re: variable reassign value in same makefile
Tony Theodore <[email protected]> Thu, 4 Apr 2024 13:48:08 +1100
| Newsgroups | gmane.comp.gnu.make.general |
|---|---|
| Message-ID | <[email protected]> |
> On 3 Apr 2024, at 20:52, anand akhare <[email protected]> wrote: > > My idea is that intermediate values of variable should be used until changed for target and recipe. Same behavior is seen with non-recursive variables. (like VAR:=abc) You probably want target-specific variables to achieve that behaviour: https://www.gnu.org/software/make/manual/make.html#Target_002dspecific Cheers, Tony