On Wed, 2007-06-06 at 17:29 +0100, Will Newton wrote:

> I'm having problems stopping make from passing variables passed on the
> command line to a sub-make.

I think it's very, very unwise to break this capability, personally.  I
would rather change your top-level makefile to use some different
variable that won't interfere with submakefiles (or vice versa).

> The manual mentions unsetting MAKEFLAGS or MAKEOVERRIDES but this
> seems to have no effect.

If you really want to do this you can use:

        -*-command-variables-*- =
        subdirs:
                $(MAKE)

You can use "make -pf/dev/null" to see all the predefined variables and
how they fit together.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          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


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to