Hi,

[EMAIL PROTECTED]:~/tmp> cat Makefile
X = echo
A = $($(1)) $$(1) $$(2)
B = $(call A,X)

all:
        @echo '[$(B)]'
        @echo '[$(call B,hi,lo)]'
[EMAIL PROTECTED]:~/tmp> make all
[echo $(1) $(2)]
[echo $(1) $(2)]

I thought the "$(call B,hi,lo)" should have evaluated to "echo hi lo", 
shouldn't it?

Regards,
Alexey.

-- 
Ah, an insult... a sometimes necessary and constructive release of 
tension.
                        -- Pkunks, SC2


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

Reply via email to