help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resetting makelevel


From: Noel Yap
Subject: Re: Resetting makelevel
Date: Fri, 16 Apr 2004 21:00:32 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

Sorry, David, I'm pretty sure I misunderstood your post.  Assuming make will 
allow the override, your suggestion should work.

Noel

Noel Yap wrote:

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

address@hidden 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
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make




_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make







_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make





reply via email to

[Prev in Thread] Current Thread [Next in Thread]