RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS

Partha None <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>

 Hello Paul and Eli,

 

Thank you for all the help.

 

As Paul said, once I remove the $(KEFLAGS) from the Root MAKEFILE, everything works as expected.

 

Regards

Partha

 
> Subject: RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Date: Mon, 11 Oct 2010 13:34:52 -0400
> 
> On Mon, 2010-10-11 at 14:18 +0000, Partha None wrote:
> > I am confused about not passing $(MAKEFLAGS) to the invoked
> > sub-makefile.
> > I need to pass that because I wanted to pass all the parameters of the
> > COMMAND LINE to the invoked sub-makefile which I am calling from the
> > root MAKEFILE.
> > So, why are you saying to remove $(MAKEFLAGS)? 
> 
> Hi Partha; please keep all discussion on the mailing lists, thanks!
> 
> I explained the answers to your questions in my original reply:
> 
> > Using the variable $(MAKE) in your rule is enough. All the command line
> > flags are transmitted to sub-makes through a special method make uses,
> > which ensures proper quoting etc. Trying to do it yourself, as you're
> > doing here, is almost certainly doomed to fail.
> 
> By "flags" above I mean not only make options but also variable
> assignments on the command line.
> 
> -- 
> -------------------------------------------------------------------------------
> Paul D. Smith <[email protected]> Find some GNU make tips at:
> http://www.gnu.org http://make.mad-scientist.net
> "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
>

_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.