bug-make@gnu.org.
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,
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 -Wall $(O)
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
endif
PROTECTED] [EMAIL PROTECTED]
To: bug-make@gnu.org bug-make@gnu.org
Sent: Sat Oct 25 13:42:55 2008
Subject: possible bug in documentation for make
bug-make@gnu.org.
Hello,
I found two problems which I think are bugs in the documentation for ?make?:
1) Limitations of redefining a variable inside