Hello, I'm trying to understand how "foreach" interacts with "define". The fragment below prints "1 2". I expected "1 2 3".... Why is the last letter missed?
define F
var := $(1)
debug += $(var)
endef
$(foreach p,1 2 3,$(eval $(call F,$p)))
all:
@echo $(debug)
Thanks
Alex
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
