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

Paul Smith <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Organization GNU's Not Unix!
Message-ID <1286825248.17296.101.camel@homebase>
Hi Partha; please keep email conversations on the mailing lists.  Thanks!

On Mon, 2010-10-11 at 18:01 +0000, Partha None wrote:
> Under what condition I am supposed to use $(MAKEFLAGS) while invoking
> the Sub MAKEFILE?

Never.

> If never, then what is the real purpose of $(MAKEFLAGS)?

It is used by make to know what flags to pass down.  You can also set it
in your makefile (although this has limited effects for the
currently-executing make unfortunately: there's an enhancement request
on this).  And you can query it in your makefile if you like (not
usually very useful).

-- 
-------------------------------------------------------------------------------
 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
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.