X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2071dda0b6016afed8777a4dd23f0ada537026b..c0b2a21e095458ab9b43f9b30d44ac228106c9c9:/distrib/msw/tmake/sc.t diff --git a/distrib/msw/tmake/sc.t b/distrib/msw/tmake/sc.t index f79733cfd8..faecf5740b 100644 --- a/distrib/msw/tmake/sc.t +++ b/distrib/msw/tmake/sc.t @@ -37,8 +37,11 @@ next if $wxGeneric{$file} =~ /\b16\b/; + my $isOleObj = $wxMSW{$file} =~ /\bO\b/; $file =~ s/cp?p?$/obj/; - $project{"WXMSWOBJS"} .= '$(MSWDIR)\\' . $file . " " + $project{"WXMSWOBJS"} .= '$(MSWDIR)\\'; + $project{"WXMSWOBJS"} .= 'ole\\' if $isOleObj; + $project{"WXMSWOBJS"} .= $file . " " } #$} @@ -112,3 +115,8 @@ $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c # $(COMMDIR)\cmndata.obj: $(COMMDIR)\cmndata.cpp # *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $(COMMDIR)\cmndata.cpp -o$(COMMDIR)\cmndata.obj +MFTYPE=sc +makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t + cd $(WXWIN)\distrib\msw\tmake + tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE) + copy makefile.$(MFTYPE) $(WXWIN)\src\msw