X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..eeccd5d94ce6b11f36af95db4ac528a2e2e0c4c5:/src/makebcc.env?ds=sidebyside diff --git a/src/makebcc.env b/src/makebcc.env index 1c4aa33f12..1bbebd6249 100644 --- a/src/makebcc.env +++ b/src/makebcc.env @@ -2,23 +2,18 @@ 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 !endif -!ifndef DEBUG -DEBUG=0 -!endif - !if "$(FINAL)" == "0" LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib OPT = -Od -DEBUG_FLAGS= -v +DEBUG_FLAGS= -v -D__WXDEBUG__ !else LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib OPT = -O2 @@ -28,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 {$< }