axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] ENV


From: Waldek Hebisch
Subject: Re: [Axiom-developer] ENV
Date: Wed, 22 Nov 2006 21:20:34 +0100 (CET)

Gabriel Dos Reis wrote:
> But frankly, who is afraid of MAKEFLAGS?  MAKEFLAGS does not just
> control Make, it serves as a vehicle to communicate values to
> sub-makes and sub-processes of Make.
> 

I see two problems with MAKEFLAGS:

1) How portable it is to differnt favors of make?

2) IIUC in GNU make arguments passed via MAKEFLAGS take precedence
over assignments inside Makefile.  This may produce values which are
hard to predict from text of the Makefile and build log.  Values passed via
envioronment do not show in the log, but at least explicit
assignment inside Makefile takes precedence, so one has to track
envioronment only when there is no explicit assignment. Of course, if
you put `echo $(MAKEFLAGS)' before each recursive make invocation
the second problem would go away.

-- 
                              Waldek Hebisch
address@hidden 




reply via email to

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