help-make
[Top][All Lists]
Advanced

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

RE: (no subject)


From: Praveen SINGH
Subject: RE: (no subject)
Date: Thu, 8 Sep 2005 17:33:07 +0530

Hi Greg,

It doesn't work for me taht way. I followed another approach in my makefile 
(master).

I redeclared TARGET in the makefile individaully for both the subdir. but 
before that I did "MAKEOVERRIDES = ". And things worked for me.

Thanks
Praveen


-----Original Message-----
From: Greg Chicares [mailto:address@hidden 
Sent: Wednesday, September 07, 2005 5:28 PM
To: Praveen SINGH
Cc: address@hidden
Subject: Re: (no subject)


On 2005-9-7 6:23 UTC, Praveen SINGH wrote:
> 
> export BASE:=yyy_BASE
> 
> ...
> dirs: 
>       mkdir -p $(OBJ)
>       cd $(SUBDIR_1) && $(MAKE)
>       cd $(SUBDIR_2) && $(MAKE) TARGET=$(BASE)
> 
> And I build like "make TARGET=xxx_BASE".

Try quoting it this way:
        cd $(SUBDIR_2) && $(MAKE) TARGET='$(BASE)'
Does that work?





reply via email to

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