Hi, 2009/5/7 Martin Dorey <mdo...@bluearc.com>: > That's only a small fraction of what I see, with make-3.81. This is what I > see: > [...] > VAR=foo VAR2=bar VAR3=foo
But here VAR2 should be "foo"!!!! As VAR=foo, the ifeq then-branch should set it to foo, but it goes into the else branch - which I think it shouldn't do. > Perhaps you want the "all" rule to say: > > all: var1 var2 No, it is different. I definitely want the sub-make because I want too runs with VAR substituted to foo in the first run and to bar in the second. As you can see the VAR variable picks up the right value (do-echo outputs foo and then bar) but the ifeq does not pick up the value, basically the ifeq(foo,foo) goes into the else branch. _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make