I'm guessing this is not what the OP needs since MAKELEVEL is already set to 0 (unless maybe it's already set outside of make?) in all these cases. Assuming it's not set explicitly, MAKELEVEL is not zero only in sub-makes (ie only when recursive make is used).

Noel

David Boyce wrote:
Well, recu make may well be cons harm, but what's so harmful about

$(MAKE) MAKELEVEL=0 ...

or

MAKELEVEL=0 $(MAKE) ...

or

export MAKELEVEL=0

??

-dsb

At 02:55 PM 4/16/2004, Noel Yap wrote:

I don't have an answer, but this sounds pretty brittle to me. Have you tried alternatives to this architecture (eg http://www.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html)?

Noel

[EMAIL PROTECTED] wrote:

I have a set of makefiles with many targets, that take advantage of
${MAKELEVEL} for some of the targets.
There has been a change in which my makefiles are being called by other
makefiles.
Is there a way to reset MAKELEVEL when starting with my set of Makefiles?


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make



_______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make






_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to