[Scummvm-devel] Release plans, once again
Marcus Comstedt
marcus at mc.pp.se
Sun Aug 22 13:01:00 CEST 2004
Max Horn <max at quendi.de> writes:
>> Secondly, I'll need to add another dependency to the dynamic plugin
>> link rule; right now it depends on $(EXECUTABLE), but I need it to
>> depend on a linker script generated _from_ $(EXECUTABLE). Any
>> suggestions for a name for the makefile variable to hold this extra
>> dependency?
>
> Uhmpf... maybe PLUGIN_EXTRA_DEPS ? So something like this in Makefile
>
> PLUGIN_EXTRA_DEPS := $(EXECUTABLE)
>
> Then in the morphos additions for the Makefile
> PLUGIN_EXTRA_DEPS += your_fancy_script
>
> And in common.rules
> $(PLUGIN-$(MODULE)): $(MODULE_OBJS) $(PLUGIN_EXTRA_DEPS)
> $(CXX) $(PLUGIN_LDFLAGS) $(filter-out $(PLUGIN_EXTRA_DEPS),$+) -o $@
>
> (I am not sure if filter-out will work right this way, you gotta try
> that one out, I guess).
Hm, but why use the $(filter-out) thing at all? Shouldn't just
$(MODULE_OBJS) do the trick?
// Marcus
More information about the Scummvm-devel
mailing list