X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9be9b97445f6e28b1ef9fd1fefdc28f40da51b24..d2be31386ccc37e4931e96cce18ec8da5ee53313:/distrib/msw/tmake/sc.t diff --git a/distrib/msw/tmake/sc.t b/distrib/msw/tmake/sc.t index eca10fb8f7..ca6a040705 100644 --- a/distrib/msw/tmake/sc.t +++ b/distrib/msw/tmake/sc.t @@ -37,8 +37,11 @@ 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 . " " } #$} @@ -64,7 +67,6 @@ OPTIONS= GENDIR=$(WXDIR)\src\generic COMMDIR=$(WXDIR)\src\common -XPMDIR=$(WXDIR)\src\xpm OLEDIR=ole MSWDIR=$(WXDIR)\src\msw @@ -76,20 +78,8 @@ COMMONOBJS = \ MSWOBJS = #$ ExpandList("WXMSWOBJS"); -XPMOBJECTS = $(XPMDIR)\crbuffri.obj\ - $(XPMDIR)\crdatfri.obj\ - $(XPMDIR)\create.obj $(XPMDIR)\crifrbuf.obj\ - $(XPMDIR)\crifrdat.obj\ - $(XPMDIR)\data.obj\ - $(XPMDIR)\hashtab.obj $(XPMDIR)\misc.obj\ - $(XPMDIR)\parse.obj $(XPMDIR)\rdftodat.obj\ - $(XPMDIR)\rdftoi.obj\ - $(XPMDIR)\rgb.obj $(XPMDIR)\scan.obj\ - $(XPMDIR)\simx.obj $(XPMDIR)\wrffrdat.obj\ - $(XPMDIR)\wrffrp.obj $(XPMDIR)\wrffri.obj - # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. -OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) # $(XPMOBJECTS) +OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) all: $(LIBTARGET)