]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeprog.bcc
tree ctrl sorting shouldn't crash when items don't have data
[wxWidgets.git] / src / makeprog.bcc
index 95ae2e1160c0486da2bc6c6a642d3ef3502c009e..e5e43c5b1702623d297f140ad7bcb32725b81c32 100644 (file)
@@ -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