X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbc535ff084f61ec376f339c515d96d74065c18b..2296fe5018d42d4e0bf9df07c37d31f60d972b32:/src/png/makefile.nt?ds=inline diff --git a/src/png/makefile.nt b/src/png/makefile.nt index a4c8b19d4b..ab823c8fc9 100644 --- a/src/png/makefile.nt +++ b/src/png/makefile.nt @@ -20,6 +20,8 @@ WINPNGLIB = ..\..\lib\winpng.lib INC = /I..\zlib +FINAL=1 + # Set this to nothing if your compiler is MS C++ 7 ZOPTION= @@ -31,14 +33,14 @@ PRECOMP=/YuWX.H !if "$(FINAL)" == "0" OPT = /Od -CPPFLAGS= /W4 /Zi /MD /GX $(ZOPTION) $(OPT) /Dwx_msw $(INC) # $(PRECOMP) /Fp$(WXDIR)\src\msw\wx.pch -CFLAGS= /W4 /Zi /MD /GX /Od /Dwx_msw $(INC) +CPPFLAGS= /W4 /Zi /MD /GX- $(ZOPTION) $(OPT) /Dwx_msw $(INC) # $(PRECOMP) /Fp$(WXDIR)\src\msw\wx.pch +CFLAGS= /W4 /Zi /MD /GX- /Od /Dwx_msw $(INC) LINKFLAGS=/NOD /CO /ONERROR:NOEXE !else # /Ox for real FINAL version OPT = /O2 -CPPFLAGS= /W4 /MD /GX /Dwx_msw $(INC) # $(PRECOMP) /Fp$(WXDIR)\src\msw\wx.pch -CFLAGS= /W4 /MD /GX /Dwx_msw $(INC) +CPPFLAGS= /W4 /MD /GX- /Dwx_msw $(INC) # $(PRECOMP) /Fp$(WXDIR)\src\msw\wx.pch +CFLAGS= /W4 /MD /GX- /Dwx_msw $(INC) LINKFLAGS=/NOD /ONERROR:NOEXE !endif