On Tue, 17 Sep 2002, Paul D. Smith wrote: > The section of the GNU make manual entitled "Communicating Options to a > Sub-make" will help; in particular read the description of MAKEFLAGS and > MAKEOVERRIDES.
MAKEOVERRIDES is what I need. First I thought I would have to parse MAKEFLAGS but I realized MAKEOVERRIDES was what I needed. So passing command line variables to a sub-make (not sure it's really a sub-make per say) is done like this in my application: bsub "make $(MAKEOVERRIDES)" bsub is a command that picks the least loaded machine on my network. Using $(MAKE) has the unpleasant effect of calling make even when -n is passed. Thank you. Martin d'A. _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
