[Scummvm-devel] Release plans, once again

Marcus Comstedt marcus at mc.pp.se
Sun Aug 22 13:32:01 CEST 2004


Max Horn <max at quendi.de> writes:

> Nope, see also the comment at the bottom of common.rules -- at the
> time the "make" rule gets used, the value of MODULE_OBJS has already
> been changed (several times, in fact). That's because env vars in the
> make rule bodies only get evaluated at the time the rule is
> applied. OTOH, env vars which occur in the dependency list of a target
> get evaluated the moment they are encountered. Hence $+ contains the
> value of MODULE_OBJS (and PLUGIN_EXTRA_DEPS) from the moment the rule
> was loaded (i.e. the moment common.rules was included from
> scumm/module.mk, in this particular case).


Ah, yes.  And of course, MODULE_OBJS-$(MODULE) can't be used either,
because $(MODULE) will also have changed its value.  Evil...


  // Marcus






More information about the Scummvm-devel mailing list