X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59a2c19914f02be7eae4ec8b7c58b06c19995146..e0dec8753abaf97e006ea1185bfb6775b28df0a8:/samples/widgets/makefile.wat diff --git a/samples/widgets/makefile.wat b/samples/widgets/makefile.wat index 8aa77c8620..d81982d6e4 100644 --- a/samples/widgets/makefile.wat +++ b/samples/widgets/makefile.wat @@ -38,6 +38,10 @@ PORTNAME = base !ifeq USE_GUI 1 PORTNAME = msw !endif +COMPILER_VERSION = +!ifeq OFFICIAL_BUILD 1 +COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD +!endif WXDEBUGFLAG = !ifeq BUILD debug WXDEBUGFLAG = d @@ -66,7 +70,7 @@ EXTRALIBS_FOR_BASE = EXTRALIBS_FOR_BASE = !endif !ifeq MONOLITHIC 1 -EXTRALIBS_FOR_BASE = +EXTRALIBS_FOR_BASE = !endif __DEBUGINFO_0 = !ifeq BUILD debug @@ -222,8 +226,9 @@ __DLLFLAG_p = -dWXUSINGDLL WX_RELEASE_NODOT = 29 COMPILER_PREFIX = wat OBJS = & - $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) + $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) +LIBDIRNAME = & + .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG) SETUPHDIR = & $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) WIDGETS_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_5) & @@ -260,7 +265,7 @@ WIDGETS_OBJECTS = & $(OBJS)\widgets_static.obj & $(OBJS)\widgets_statbmp.obj & $(OBJS)\widgets_textctrl.obj & - $(OBJS)\widgets_timepick.obj & + $(OBJS)\widgets_timepick.obj & $(OBJS)\widgets_toggle.obj & $(OBJS)\widgets_widgets.obj @@ -371,9 +376,9 @@ $(OBJS)\widgets_statbmp.obj : .AUTODEPEND .\statbmp.cpp $(OBJS)\widgets_textctrl.obj : .AUTODEPEND .\textctrl.cpp $(CXX) -bt=nt -zq -fo=$^@ $(WIDGETS_CXXFLAGS) $< -$(OBJS)\widgets_timepick.obj : .AUTODEPEND .\timepick.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(WIDGETS_CXXFLAGS) $< - +$(OBJS)\widgets_timepick.obj : .AUTODEPEND .\timepick.cpp + $(CXX) -bt=nt -zq -fo=$^@ $(WIDGETS_CXXFLAGS) $< + $(OBJS)\widgets_toggle.obj : .AUTODEPEND .\toggle.cpp $(CXX) -bt=nt -zq -fo=$^@ $(WIDGETS_CXXFLAGS) $<