help-make
[Top][All Lists]
Advanced

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

Re: make- target specific variables


From: Venkata Rajasekharu
Subject: Re: make- target specific variables
Date: Wed, 9 Sep 2009 13:14:40 +0530

Thanks chen!.

I am using 3.79. Thats why this bug appeared.

Regards,
Rajasekhar.

On 9/8/09, CHEN Cheng <address@hidden> wrote:
> On Tue, Sep 08, 2009 at 10:12:52AM +0530, Venkata Rajasekharu wrote:
>> Hi all,
>>
>> makefile:
>> ---------------------
>>
>> VAR = 1 $< 1
>> all : VAR += 2 $< 2
>>
>> all: makefile
>>         echo $(VAR)
>>
>> -------------------
>>
>> bash-3.00$ make
>> 1 1 2 makefile 2
>>
>> Since VAR is a recursively defined variable its value should be evaluated
>> during the command execution.
>>
>> But why it is not
>>     "1 makefile 1 2 makefile 2 "
>>
>
> I get "1 makefile 1 2 makefile 2" as expected.
>
> My gmake version is 3.81. Which version do you use?
>
>
> Best,
> Cheng
>




reply via email to

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