[Top][All Lists]

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

Re: Target specific += has strange behaviour

From: Paul D. Smith
Subject: Re: Target specific += has strange behaviour
Date: Sun, 3 Nov 2002 20:49:59 -0500

%% Oliver Schmidt <address@hidden> writes:

  os> targA targB targC:
  os>   @echo "$@: T=<$T>"

  os> T := 1

  os> targA: T  = 2
  os> targA: T += 3

  os> gives the output:

  os> targA: T=<1 2 3>

  os> In my opinion the output for targA should be "targA: T=<2 3>".

I agree, this looks like a bug.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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