X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70fd78f30ed21894c90bd4321e9f9821ab6aa266..0738b901b17340f09766524b8d9d79e9ed1268e7:/samples/console/makefile.bcc diff --git a/samples/console/makefile.bcc b/samples/console/makefile.bcc index 005eeda6bc..258859b7e7 100644 --- a/samples/console/makefile.bcc +++ b/samples/console/makefile.bcc @@ -1,6 +1,6 @@ # ========================================================================= # This makefile was generated by -# Bakefile 0.2.2 (http://bakefile.sourceforge.net) +# Bakefile 0.2.7 (http://www.bakefile.org) # Do not modify, all changes will be overwritten! # ========================================================================= @@ -45,10 +45,7 @@ PORTNAME = base !if "$(USE_GUI)" == "1" PORTNAME = msw !endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -WXDEBUGFLAG = d -!endif -!if "$(DEBUG_FLAG)" == "1" +!if "$(BUILD)" == "debug" WXDEBUGFLAG = d !endif !if "$(UNICODE)" == "1" @@ -105,11 +102,8 @@ __RUNTIME_LIBS_8 = !if "$(WXUNIV)" == "1" __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ !endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -__DEBUG_DEFINE_p = -D__WXDEBUG__ -!endif -!if "$(DEBUG_FLAG)" == "1" -__DEBUG_DEFINE_p = -D__WXDEBUG__ +!if "$(DEBUG_FLAG)" == "0" +__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0 !endif !if "$(USE_EXCEPTIONS)" == "0" __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS @@ -120,6 +114,9 @@ __RTTI_DEFINE_p = -DwxNO_RTTI !if "$(USE_THREADS)" == "0" __THREAD_DEFINE_p = -DwxNO_THREADS !endif +!if "$(UNICODE)" == "0" +__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0 +!endif !if "$(UNICODE)" == "1" __UNICODE_DEFINE_p = -D_UNICODE !endif @@ -184,7 +181,7 @@ clean: -if exist $(OBJS)\console.ils del $(OBJS)\console.ils $(OBJS)\console.exe: $(CONSOLE_OBJECTS) - ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&| + ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(LDFLAGS) @&&| c0x32.obj $(CONSOLE_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, | @@ -193,5 +190,5 @@ data: for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) $(OBJS)\console_console.obj: .\console.cpp - $(CXX) -q -c -P -o$@ $(CONSOLE_CXXFLAGS) $** + $(CXX) -q -c -P -o$@ $(CONSOLE_CXXFLAGS) .\console.cpp