X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40e1a9c025bc6098fbba2f188ef207cc68c100b3..073c8fe92a5d6807a3107a115739f0eb69915cc5:/src/makebcc.env diff --git a/src/makebcc.env b/src/makebcc.env index 139c057a17..1bbebd6249 100644 --- a/src/makebcc.env +++ b/src/makebcc.env @@ -2,10 +2,9 @@ WXDIR = $(WXWIN) -CFG = $(WXDIR)\src\wxwin.cfg -WXLIB = $(WXDIR)\lib -WXINC = $(WXDIR)\include\msw -WXBASEINC = $(WXDIR)\include\base +CFG = $(WXDIR)\src\msw\wxwin.cfg +WXLIBDIR = $(WXDIR)\lib +WXINC = $(WXDIR)\include !ifndef FINAL FINAL=0 @@ -14,7 +13,7 @@ FINAL=0 !if "$(FINAL)" == "0" LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib OPT = -Od -DEBUG_FLAGS= -v -D__DEBUG__ -DDEBUG=1 +DEBUG_FLAGS= -v -D__WXDEBUG__ !else LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib OPT = -O2 @@ -24,10 +23,13 @@ CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) -LIBTARGET= $(WXLIB)\wx.lib +WXLIB= $(WXLIBDIR)\wx.lib SRCSUFF = cpp OBJSUFF = obj .$(SRCSUFF).obj: bcc $(CPPFLAGS) -c {$< } + +.c.obj: + bcc $(CPPFLAGS) -DUSE_DEFINE -P- -c {$< }