X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d604ea33556e3b97b32f11c6dc6bc6bcb1bbcbee..173348db5fd89f79aaaa40388c3b1c76732002d3:/src/png/makefile.vc?ds=sidebyside diff --git a/src/png/makefile.vc b/src/png/makefile.vc index e028f53f0f..bd797dfff5 100644 --- a/src/png/makefile.vc +++ b/src/png/makefile.vc @@ -2,7 +2,7 @@ # File: makefile.vc # Author: Julian Smart # Created: 1993 -# Updated: +# Updated: # Copyright: (c) 1993, AIAI, University of Edinburgh # # "%W% %G%" @@ -25,21 +25,28 @@ ZOPTION= FINAL=0 !endif -PRECOMP=/YuWX.H +PRECOMP=/YuWX.H !if "$(FINAL)" == "0" OPT = /Od -CPPFLAGS= /W4 /Zi /MDd /GX $(ZOPTION) $(OPT) /D__WXMSW__ $(INC) -CFLAGS= /W4 /Zi /MDd /GX /Od /D__WXMSW__ $(INC) +CPPFLAGS= /W4 /Zi $(CRTFLAG) /GX $(ZOPTION) $(OPT) /D__WXMSW__ $(INC) +CFLAGS= /W4 /Zi $(CRTFLAG) /GX /Od /D__WXMSW__ $(INC) LINKFLAGS=/NOD /CO /ONERROR:NOEXE +_CRTFLAG=/MDd !else # /Ox for real FINAL version OPT = /O2 -CPPFLAGS= /W4 /MD /GX /D__WXMSW__ $(INC) -CFLAGS= /W4 /MD /GX /D__WXMSW__ $(INC) +CPPFLAGS= /W4 $(CRTFLAG) /GX /D__WXMSW__ $(INC) +CFLAGS= /W4 $(CRTFLAG) /GX /D__WXMSW__ $(INC) LINKFLAGS=/NOD /ONERROR:NOEXE +_CRTFLAG=/MDd !endif +!if "$(CRTFLAG)" == "" +CRTFLAG=$(_CRTFLAG) +!endif + + OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \ pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj \ pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj