]> git.saurik.com Git - wxWidgets.git/blobdiff - distrib/msw/tmake/sc.t
Removed winmm.dll from delayload list.
[wxWidgets.git] / distrib / msw / tmake / sc.t
index f79733cfd81cfaf59dc8982bd4856fec482aee63..faecf5740b12bf0f8712054268d8dc3fc5020c7f 100644 (file)
 
         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