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-


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

Reply via email to