bug-make
[Top][All Lists]
Advanced

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

Are pattern variables additive?


From: David Caldwell
Subject: Are pattern variables additive?
Date: Tue, 13 Jan 2004 20:46:52 -0800

A simple test case:

x="hello"

%.b: x+="a"

%.a.b: x+="a+b"

david.a.b: x+="c"

david.a.b:
        @echo $(x)

$make -f pattern-vars.make david.a.b
hello a c
$make -v
GNU Make 3.80

I would have expected the output to be "hello a a+b c" or perhaps "hello a+b a c".

Is this a bug?

-David





reply via email to

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