|
From: | Partha None |
Subject: | RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS |
Date: | Mon, 11 Oct 2010 17:58:20 +0000 |
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: address@hidden > To: address@hidden > CC: address@hidden > 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 <address@hidden> 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 > |
[Prev in Thread] | Current Thread | [Next in Thread] |