%% Sandy Currier <[EMAIL PROTECTED]> writes: sc> At least a dump of the database shows that the function block ends sc> up defining a target rule as opposed to an immediate variable sc> definition.
Boris is correct about "|" appearing in a prerequisites list but you don't appear to be using it that way in the example makefile you provide... maybe you are doing so later on? sc> define SECTION_7_MODULE_ACCUMULATE_BLOCK sc> # $(1) = dira/dirb (parent directory) sc> # $(2) = dira/dirb/dirc (this directory) sc> # accumulators sc> $$(foreach platform,$(PLATFORMS),$(2)|ALL_CFILES_$$(platform) := sc> $$(_LOCAL_CFILES_$$(platform)) $$($(2)|ALL_CFILES_$$(platform))) sc> endef This by itself looks fine to me. I think it all depends on how you're using this variable. Can you provide a _complete_, but small, makefile and example of what it's doing that you don't think it should be? -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
