X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54744d3ab7756a61fe2d6ef4e8da5bde9ff2cec2..776a33cfd3efe66e053146e34085833f01523b35:/distrib/msw/tmake/msw.t?ds=sidebyside

diff --git a/distrib/msw/tmake/msw.t b/distrib/msw/tmake/msw.t
index 48b489b93c..42e56ef40c 100644
--- a/distrib/msw/tmake/msw.t
+++ b/distrib/msw/tmake/msw.t
@@ -39,15 +39,20 @@
     }
 
     foreach $file (sort keys %wxMSW) {
-        #! OLE files can'be compiled with mingw32 yet
-        next if $wxMSW{$file} =~ /\b(O|16)\b/;
+        next if $wxMSW{$file} =~ /\b16\b/;
 
         ($fileobj = $file) =~ s/cp?p?$/\o/;
         ($filedep = $file) =~ s/cp?p?$/\d/;
 
-        $project{"MSW_SOURCES"} .= "msw/" . $file . " ";
-        $project{"GUIOBJS"} .= $fileobj . " ";
-        $project{"GUIDEPS"} .= $filedep . " "
+        if( $wxMSW{$file} =~ /\bO\b/ ) {
+            $project{"MSW_SOURCES"} .= "msw/ole/" . $file . " ";
+            $project{"OLEOBJS"} .= $fileobj . " ";
+            $project{"OLEDEPS"} .= $filedep . " ";
+        } else {
+            $project{"MSW_SOURCES"} .= "msw/" . $file . " ";
+            $project{"GUIOBJS"} .= $fileobj . " ";
+            $project{"GUIDEPS"} .= $filedep . " ";
+        }
     }
 
     foreach $file (sort keys %wxHTML) {
@@ -121,6 +126,12 @@ HTMLOBJS = \
 HTMLDEPS = \
 		#$ ExpandList("HTMLDEPS");
 
+OLEOBJS = \
+		#$ ExpandList("OLEOBJS");
+
+OLEDEPS = \
+		#$ ExpandList("OLEDEPS");
+
 IODBCOBJS = \
 		#$ ExpandList("IODBCOBJS");