[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line
From: |
Paul Smith |
Subject: |
RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS |
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
- How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS, Partha None, 2010/10/07
- Re: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS, Paul Smith, 2010/10/07
- RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS, Duane Campbell, 2010/10/08
- Re: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS, Eli Zaretskii, 2010/10/08
- RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS, Paul Smith, 2010/10/10
- Message not available
- RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS,
Paul Smith <=
- RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS, Partha None, 2010/10/11
- Message not available
- RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS, Paul Smith, 2010/10/11
- RE: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS, Partha None, 2010/10/11