help-make
[Top][All Lists]
Advanced

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

Re: MAKEFLAGS and auto-including another makefile


From: Paul D. Smith
Subject: Re: MAKEFLAGS and auto-including another makefile
Date: Fri, 7 Jan 2005 15:42:58 -0500

%% Ken Smith <address@hidden> writes:

  >> and print the value of ${MAKEFLAGS}, what i get is "I /a/b/c".  but if
  >> i have multiple options, all subsequent options will have the leading
  >> hyphen.  not a big deal, but i'm just curious as to why the leading
  >> hyphen goes missing.  and the docs don't seem to make any mention of
  >> that.

  ks> I confirmed this behavior.  Seems strange to me too.  However, the
  ks> option's effect gets properly propogated to a submake.

I don't know what the original authors were thinking (smoking...? :-))
when they came up with this, but it's standard behavior across all
versions of make, going back in time, and is specified by the POSIX
definition of make.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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