X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a240683ed2ed0ad7efe733d451dd36740607605..2e09dc2dc80d5dd5c42a559c4dd4738ed006a276:/src/makeprog.bcc diff --git a/src/makeprog.bcc b/src/makeprog.bcc index e8f20a2b00..baa44c3349 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,8 +21,11 @@ $(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) + brc -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET) clean: -erase *.obj