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 . " " }