Re: make- target specific variables

2009-09-09 Thread Venkata Rajasekharu
Thanks chen!. I am using 3.79. Thats why this bug appeared. Regards, Rajasekhar. On 9/8/09, CHEN Cheng 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

Re: make- target specific variables

2009-09-08 Thread CHEN Cheng
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 def

Re: make- target specific variables

2009-09-08 Thread Paul Smith
On Tue, 2009-09-08 at 10:12 +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 variab