BTW eval() example in the online make documentation uses a similar construct, but the prerequisite list in its rule is much shorter and doesn't cause the error.
tool = SomeToolFileName tool_PREREQUISITES = prerequisite1 prerequisite2 prerequisite3 prerequisite4 prerequisite5 prerequisite6 prerequisite7 prerequisite8 prerequisite9 prerequisite10 prerequisite11 prerequisite12 prerequisite13 define MAKE_TARGETS # this chokes with a "virtual memory exhausted" message unless you # chop off prerequisite13 from tool_PREREQUISITES $$($(1)): $$($(1)_PREREQUISITES) echo "didn't choke" endef $(eval $(call MAKE_TARGETS,tool))
And my make version is...
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
David
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make