help-make
[Top][All Lists]
Advanced

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

quoting $$ (or something completely different?)


From: Tom Bachmann
Subject: quoting $$ (or something completely different?)
Date: Wed, 29 Mar 2006 20:58:33 +0200
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051031)

Hi,
[please cc me since I'm not registered to the list)

I'm trying to transform $(NAME)_CFLAGS := $$(CFLAGS) into $(eval $(call SET,CFLAGS)), but I don't get it right.

define SET
$$(NAME)_$(1) := $$$$($(1))
endef

seems not to work. If I "hardcode" the sequence, everything works fine.

To give you some context:
a main makefile does $(eval $(call FOOFN,foo)) and this FOOFN does $(eval $(call SET,CFLAGS)).
--
-ness-




reply via email to

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