André Hentschel nerv@dawncrow.de writes:
@@ -2569,6 +2570,7 @@ sub generate_project_files($) print FILEO "$(${canon}_MODULE).so: $(${canon}_OBJS) $(${canon}_MODULE:.dll=.def)\n"; } elsif (@$target[$T_TYPE] == $TT_DLL) { print FILEO "$(${canon}_MODULE).so: $(${canon}_OBJS) $(${canon}_MODULE:.dll=.spec)\n";
print FILEO "\t\$(WINEBUILD) --def -E \$(${canon}_MODULE:.dll=.spec) -o lib\$(${canon}_MODULE:.dll=.def)\n";
That's not much better. You should have a proper target for it, and a dependency from the modules that import that dll.