%% "Robert P. J. Day" <[EMAIL PROTECTED]> writes:

  rpjd> i think i'm reading something incorrectly, but what is the proper
  rpjd> way to do a top-level invocation of

  rpjd>   $ make -Idir1 -Idir2 ...

  rpjd> and have those include options passed recursively to sub-makes?  i was
  rpjd> trying to do this with the MAKEFLAGS variable but i'm clearly doing
  rpjd> something wrong.

  rpjd> i don't want to have to set that MAKEFLAGS variable explicitly in
  rpjd> the environment -- i want all include information to be supplied as
  rpjd> options to the make command itself.

You don't need to set MAKEFLAGS at all.

The options you specified on the command line will automagically be
passed down to sub-makes for you, unless otherwise specified in the GNU
make manual.

-I is definitely given to sub-makes.

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