SysTom wrote:
2) Is it possible to set a make option from a variable?  For example, I
would like to be able to do something like:

   ifeq ($(GATES),1)
    ISHKABIBBLE = foo
    ...
    MAKE            = $(MAKE) -B
  endif

where the MAKE = $(MAKE) -B' forces a recompile of everything when
GATES is set to 1.

I don't know if this is exactly what you want but I just figured that you can set MAKEFLAGS in the Makefile and make respects this during the current run.

Example: instead of saying "make -s" to make make silent, you can add the line
MAKEFLAGS = -s
to the Makefile.

Cheers
Daniel
--
Refactor, don't archive! - SamHasler - 28 Aug 2004 - twiki.org
_______________________________________________
help-gnu-utils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to