Hi all,

Running "make" (3.82) with the Makefile below prints:
    x
    foo rule 1
    bar rule 2
but I would expect make to use either the first rule in both cases, or
the second rule in both cases. Is this a bug? If so, what is the right
behaviour? If not, what is the reason that the first and second rules
are chosen respectively?

#####################################

FOO=

.SECONDEXPANSION:

default: foo bar

f%: $$(info x)
        @echo foo rule 1

f%: $$(info y)
        @echo foo rule 2

b%: $$(FOO)
        @echo bar rule 1

b%: $$(FOO)
        @echo bar rule 2

#####################################


Thanks
Ian


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to