help-make
[Top][All Lists]
Advanced

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

Bug in $(call ...) ?


From: Alexey Neyman
Subject: Bug in $(call ...) ?
Date: Mon, 20 Dec 2004 13:40:02 +0300
User-agent: KMail/1.6.2

Hi,

address@hidden:~/tmp> cat Makefile
X = echo
A = $($(1)) $$(1) $$(2)
B = $(call A,X)

all:
        @echo '[$(B)]'
        @echo '[$(call B,hi,lo)]'
address@hidden:~/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




reply via email to

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