X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3fef91f5668f655a5cfa336e3a5a5b0aefa0d7a..f8c5636c42238296eb67bf73d1da3c5acb010fee:/src/zlib/makefile.vc?ds=inline diff --git a/src/zlib/makefile.vc b/src/zlib/makefile.vc index 283ea06376..51b1348b74 100644 --- a/src/zlib/makefile.vc +++ b/src/zlib/makefile.vc @@ -17,6 +17,9 @@ FINAL=0 !if "$(FINAL)" == "0" CFLAGS=/Od $(CRTFLAG) /GX _CRTFLAG=/MDd +!else if "$(FINAL)" == "hybrid" +CFLAGS=/Od $(CRTFLAG) /GX +_CRTFLAG=/MD !else CFLAGS=-O2 $(CRTFLAG) /GX _CRTFLAG=/MD @@ -34,7 +37,13 @@ LIB=tlib LDFLAGS=$(MODEL) O=.obj +!if "$(FINAL)" == "1" LIBTARGET=..\..\lib\zlib.lib +!else if "$(FINAL)" == "hybrid" +LIBTARGET=..\..\lib\zlibh.lib +!else +LIBTARGET=..\..\lib\zlibd.lib +!endif # variables OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \ @@ -91,7 +100,7 @@ zutil.obj: zutil.c zutil.h zlib.h zconf.h LIBOBJECTS = $(OBJ1) $(OBJ2) $(LIBTARGET): $(LIBOBJECTS) - -del $(LIBTARGET) + -erase $(LIBTARGET) lib @<< -out:$(LIBTARGET) $(LIBOBJECTS)