[Top][All Lists]
[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
- Bug in $(call ...) ?,
Alexey Neyman <=
- Re: Bug in $(call ...) ?, Ken Smith, 2004/12/20
- Re: Bug in $(call ...) ?, Alexey Neyman, 2004/12/20
- Re: Bug in $(call ...) ?, Boris Kolpackov, 2004/12/20
- Re: Bug in $(call ...) ?, Paul D. Smith, 2004/12/20
- Re: Bug in $(call ...) ?, Alexey Neyman, 2004/12/21
- Re: Bug in $(call ...) ?, Boris Kolpackov, 2004/12/21