>>>>> On Fri, 25 Jan 2008 14:39:57 +0000, Paul Brook <[EMAIL PROTECTED]> said:

    >> Saying CPPFLAGS+= is much more convenient if for any reason the
    >> external build environment would like to pass unusual CPPFLAGS.

    Paul> No. This doesn't do what you thing it does.  The most common way
    Paul> of overriding these variables is to pass them on the
    Paul> commandline, i.e. "make CPPFLAGS=-blah". This overrides all
    Paul> assignments to that variable including +=.

By the way, it is possible to improve the GNU make weirdness :-) by
playing with stuff like:

override CFLAGS += -g

Cf section 6.7 of the documentation.

Hmmm... GNU make evolves more rapidly than my brain... :-)
-- 
  Ronan KERYELL                 |\/  Tel:    (+33|0) 2.29.00.14.15
  Département Informatique      |/)  Fax:    (+33|0) 2.29.00.12.82
  TÉLÉCOM Bretagne, CS 83818    K    GSM:    (+33|0) 6.13.14.37.66
  F-29238 PLOUZANÉ CEDEX 3      |\   E-mail: [EMAIL PROTECTED]
  FRANCE                        | \  http://enstb.org/~keryell


Reply via email to