automake
[Top][All Lists]
Advanced

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

Re: silent build rules


From: Ralf Wildenhues
Subject: Re: silent build rules
Date: Fri, 3 Apr 2009 20:32:59 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Jan Engelhardt wrote on Thu, Apr 02, 2009 at 09:53:21AM CEST:
> On Thursday 2009-04-02 04:01, Eric Blake wrote:
> >
> >One of Ralf's concerns is that you can't do AC_SUBST([V], [1]), because it
> >interacts badly with various make implementations.  That is, the Makefile
> >must not pre-define V as the only means of setting the package's default,
> >if it cannot be overridden by the user.
> 
> Oh? CFLAGS is also contained in Makefiles, as a result of automake
> expanding Makefile.am->.in, and usually filled with the default of
> -O2 -g, and yet can be overriden at make-time. At least, that is, for
> GNU make, which I happen to use..

Yes.  Try some other make implementation like BSD make for starters, or
read "info Autoconf 'Macros and Submakes'".

The point is not to have to use
  V=1 make -e

because 'make -e' can be quite problematic as it pulls in all kinds of
junk from your environment.

Cheers,
Ralf




reply via email to

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