variable reassign value in same makefile

2024-04-03 Thread anand akhare
Hello make team, according to the info make page, recursive variable takes value at the time it is used. However, no reference is there in doc what happens if value is changed for the variable. To verify this I created small makefile as below and on executing make trg1, it shows VAR value as

Re: variable reassign value in same makefile

2024-04-04 Thread anand akhare
akhare Cc: help-make@gnu.org Subject: Re: variable reassign value in same makefile > On 3 Apr 2024, at 20:52, anand akhare wrote: > > My idea is that intermediate values of variable should be used until changed > for target and recipe. Same behavior is seen with non-recursi