[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: another really dumb question
From: |
Björn Michaelsen |
Subject: |
Re: another really dumb question |
Date: |
Thu, 20 Jan 2011 09:35:25 +0100 |
Hi,
Am Wed, 19 Jan 2011 23:14:57 -0800
schrieb "Mark Galeck (CW)" <address@hidden>:
> Why doesn't this work as expected (expected would be to print "bar")
>
> define FOOBAR
> FOO := bar
^- this is text that will be executed later in the eval
> $(info $(FOO))
this will be executed right here, because it is unquoted. What you want
instead is:
$$(info $$(FOO)
> endef
> $(eval $(call FOOBAR))
Best Regards,
Bjoern