X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b1de9c2eeedf27401d897a609baf15d8ff5914e..c94ad3c365a7a2b12346258f3d6b26432f36fd8d:/src/makeprog.bcc diff --git a/src/makeprog.bcc b/src/makeprog.bcc index 95ae2e1160..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) @&&! @@ -16,13 +16,16 @@ nul $(LIBS) $(TARGET).def ! - rc -K $(TARGET).res + brc -K $(TARGET).res .$(SRCSUFF).obj: bcc $(CPPFLAGS) -c {$< } +.c.obj: + bcc $(CPPFLAGS) -P- -c {$< } + $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc - rc -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET) + brc -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET) clean: -erase *.obj