X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a240683ed2ed0ad7efe733d451dd36740607605..b3402d0df8c9f763da1e32fc28c824014e5516c6:/src/makeprog.bcc diff --git a/src/makeprog.bcc b/src/makeprog.bcc index e8f20a2b00..e5e43c5b17 100644 --- a/src/makeprog.bcc +++ b/src/makeprog.bcc @@ -4,9 +4,9 @@ !include $(WXDIR)\src\makebcc.env WXLIB = $(WXDIR)\lib\wx.lib -LIBS=$(WXLIB) mathwl cwl import ole2w16 +LIBS=$(WXLIB) $(EXTRALIBS) mathwl cwl import ole2w16 winpng zlib -all: $(TARGET).exe +all: $(TARGET).exe $(EXTRATARGETS) $(TARGET).exe: $(WXLIB) $(OBJECTS) $(TARGET).def $(TARGET).res tlink $(LINKFLAGS) @&&! @@ -21,6 +21,9 @@ $(TARGET).def .$(SRCSUFF).obj: bcc $(CPPFLAGS) -c {$< } +.c.obj: + bcc $(CPPFLAGS) -P- -c {$< } + $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc brc -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)