Re: possible bug in documentation for make

2008-10-25 Thread Martin Dorey
> last updated 04 April 2000, of `The GNU Make > Manual', for `make', Version 3.79. I use: GNU Make > version 3.79.1 (Wow, that's pretty old skool.) > It seems as if it is not possible to change the value > of a variable inside an ?ifeq? conditional that test > against that very variable Th

Re: possible bug in documentation for make

2008-10-25 Thread Philip Guenther
On Sat, Oct 25, 2008 at 1:42 PM, Daniela Rütting <[EMAIL PROTECTED]> wrote: ... > 1st problem: In an attempt to reduce tedious typing when defining a variable > from > the command line, I tried: > ifeq (max,$(O)) > O = -O3 -fomit-frame-pointer -fno-unroll-loops > endif > ifeq (,$(O)) > O = -O > en

Re: possible bug in documentation for make

2008-10-25 Thread Paul Smith
On Sat, 2008-10-25 at 22:42 +0200, Daniela Rütting wrote: > 1st problem: In an attempt to reduce tedious typing when defining a variable > from the command line, I tried: > ifeq (max,$(O)) > O = -O3 -fomit-frame-pointer -fno-unroll-loops > endif > ifeq (,$(O)) > O = -O > endif > CXXFLAGS = -W -Wa

possible bug in documentation for make

2008-10-25 Thread Daniela Rütting
. Hello, I found two problems which I think are bugs in the documentation for ’make’: 1) Limitations of redefining a variable inside a conditional are not clear. 2) The order, in which prerequisites are processed, is not clear. I refer to: Edition 0.55, last updated 04 April 2000, of `The GNU Make