X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a240683ed2ed0ad7efe733d451dd36740607605..10434f3c24ae2faf228b6b6c6b6cb6de0c26213d:/src/makeprog.bcc?ds=sidebyside 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)