X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4547faae1dbfbeffb584c1b16b8dd50d1edf26cd..b71531ad92f44d4ceba46418020061d24777e4f4:/samples/help/makefile.wat diff --git a/samples/help/makefile.wat b/samples/help/makefile.wat index 16fba50d6e..2988856169 100644 --- a/samples/help/makefile.wat +++ b/samples/help/makefile.wat @@ -109,6 +109,13 @@ __DLLFLAG_p = !ifeq SHARED 1 __DLLFLAG_p = -dWXUSINGDLL !endif +__EXCEPTIONSFLAG_7 = +!ifeq USE_EXCEPTIONS 0 +__EXCEPTIONSFLAG_7 = +!endif +!ifeq USE_EXCEPTIONS 1 +__EXCEPTIONSFLAG_7 = -xs +!endif __LIB_JPEG_p = !ifeq USE_GUI 1 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib @@ -168,7 +175,7 @@ __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__ HELP_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) -bm & $(__RUNTIME_LIBS_5) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) & - -i=.\..\..\samples $(CXXFLAGS) + -i=.\..\..\samples $(CXXFLAGS) $(__EXCEPTIONSFLAG_7) HELP_OBJECTS = & $(OBJS)\help_demo.obj OBJS = &