From: Vadim Zeitlin Date: Wed, 6 Oct 1999 22:41:17 +0000 (+0000) Subject: fix for .c files in msw subdir for VC++ 6 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/934d4f8d8c3655d7093e7876570ea1840eaae8f0?hp=7bf54362633773a9e61a8a69471b6ccd2206e0ff fix for .c files in msw subdir for VC++ 6 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/distrib/msw/tmake/vc6.t b/distrib/msw/tmake/vc6.t index e956d796a7..052c55f0e8 100644 --- a/distrib/msw/tmake/vc6.t +++ b/distrib/msw/tmake/vc6.t @@ -27,7 +27,9 @@ foreach $file (sort keys %wxMSW) { next if $wxMSW{$file} =~ /\b16\b/; - my $tag = $wxMSW{$file} =~ /\bO\b/ ? "WXOLESRCS" : "WXMSWSRCS"; + my $tag; + if ( $wxMSW{$file} =~ /\bO\b/ ) { $tag = "WXOLESRCS" } + else { $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXMSWSRCS" } $project{$tag} .= $file . " " }