}
foreach $file (sort keys %wxCommon) {
+ $isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
- $project{"WXCOMMONOBJS"} .= "\$(MSWDIR)\\" . $file . " "
+ $obj = "\$(MSWDIR)\\" . $file . " ";
+ $project{"WXCOMMONOBJS"} .= $obj;
+ $project{"WXCOBJS"} .= $obj if $isCFile;
}
foreach $file (sort keys %wxMSW) {
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
+ $suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
s/MSWDIR/COMMDIR/;
- s/obj$/\$(SRCSUFF)/;
+ s/obj$/$suffix/;
$text .= $_ . "\n\n";
}
#$}
-# This file was automatically generated by tmake at 14:25, 1999/07/23
+# This file was automatically generated by tmake at 00:16, 1999/07/25
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
#
$(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF)
-$(MSWDIR)\extended.obj: $(COMMDIR)\extended.$(SRCSUFF)
+$(MSWDIR)\extended.obj: $(COMMDIR)\extended.c
$(MSWDIR)\ffile.obj: $(COMMDIR)\ffile.$(SRCSUFF)
$(MSWDIR)\txtstrm.obj: $(COMMDIR)\txtstrm.$(SRCSUFF)
-$(MSWDIR)\unzip.obj: $(COMMDIR)\unzip.$(SRCSUFF)
+$(MSWDIR)\unzip.obj: $(COMMDIR)\unzip.c
$(MSWDIR)\url.obj: $(COMMDIR)\url.$(SRCSUFF)