X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4839ccf58de31e405cba8835f81191c28d415f8..3dd4386160b8f6d28ecc4ad2ca308c437721a41f:/samples/render/makefile.wat diff --git a/samples/render/makefile.wat b/samples/render/makefile.wat index 9e31d1a004..347c7fb0cf 100644 --- a/samples/render/makefile.wat +++ b/samples/render/makefile.wat @@ -58,12 +58,12 @@ WXDLLFLAG = dll PLUGINSUFFIX = !ifeq BUILD debug !ifeq UNICODE 0 -PLUGINSUFFIX = _d +PLUGINSUFFIX = d !endif !endif !ifeq BUILD debug !ifeq UNICODE 1 -PLUGINSUFFIX = _ud +PLUGINSUFFIX = ud !endif !endif !ifeq BUILD release @@ -73,13 +73,13 @@ PLUGINSUFFIX = !endif !ifeq BUILD release !ifeq UNICODE 1 -PLUGINSUFFIX = _u +PLUGINSUFFIX = u !endif !endif __renddll___depname = !ifeq SHARED 1 __renddll___depname = & - $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)252_wat.dll + $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_wat.dll !endif __DEBUGINFO = !ifeq BUILD debug @@ -167,16 +167,17 @@ __DLLFLAG_p = -dWXUSINGDLL __WXLIB_CORE_p = !ifeq MONOLITHIC 0 __WXLIB_CORE_p = & - wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib + wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib !endif __WXLIB_BASE_p = !ifeq MONOLITHIC 0 -__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib +__WXLIB_BASE_p = & + wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib !endif __WXLIB_MONO_p = !ifeq MONOLITHIC 1 __WXLIB_MONO_p = & - wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib + wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib !endif __LIB_TIFF_p = !ifeq USE_GUI 1 @@ -193,6 +194,8 @@ __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib ### Variables: ### +WX_RELEASE_NODOT = 25 +WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3 OBJS = & wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) SETUPHDIR = & @@ -200,7 +203,7 @@ SETUPHDIR = & RENDER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) & -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) & -i=.\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -i=.\..\..\samples & - $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) + -dNOPCH $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) RENDER_OBJECTS = & $(OBJS)\render_render.obj RENDDLL_CXXFLAGS = -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) & @@ -225,7 +228,7 @@ clean : .SYMBOLIC -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk -if exist $(OBJS)\render.exe del $(OBJS)\render.exe - -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)252_wat.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)252_wat.dll + -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_wat.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_wat.dll $(OBJS)\render.exe : $(RENDER_OBJECTS) $(OBJS)\render_sample.res @%create $(OBJS)\render.lbc @@ -239,7 +242,7 @@ $(OBJS)\render.exe : $(RENDER_OBJECTS) $(OBJS)\render_sample.res wlink @$(OBJS)\render.lbc !ifeq SHARED 1 -$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)252_wat.dll : $(RENDDLL_OBJECTS) +$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(WX_VERSION_NODOT)_wat.dll : $(RENDDLL_OBJECTS) @%create $(OBJS)\renddll.lbc @%append $(OBJS)\renddll.lbc option quiet @%append $(OBJS)\renddll.lbc name $^@