X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48d1144bc4dabb9f8dd6f913e9a65d709e5995e3..50c375d311ac4cefbf1ae1d11e19c9e7c00a873e:/src/zlib/makefile.vc diff --git a/src/zlib/makefile.vc b/src/zlib/makefile.vc index fa57b5c76b..f806ae9f1a 100644 --- a/src/zlib/makefile.vc +++ b/src/zlib/makefile.vc @@ -10,7 +10,23 @@ # See zconf.h for details about the memory requirements. # ------------- Turbo C++, Borland C++ ------------- -CFLAGS=-O2 /MD /GX +!ifndef FINAL +FINAL=0 +!endif + +!if "$(FINAL)" == "0" +CFLAGS=/Od $(CRTFLAG) /GX +_CRTFLAG=/MDd +!else +CFLAGS=-O2 $(CRTFLAG) /GX +_CRTFLAG=/MD +!endif + +!if "$(CRTFLAG)" == "" +CRTFLAG=$(_CRTFLAG) +!endif + + CC=cl LD=cl LIB=tlib @@ -22,9 +38,9 @@ LIBTARGET=..\..\lib\zlib.lib # variables OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \ - trees$(O) + trees$(O) OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \ - infutil$(O) inffast$(O) + infutil$(O) inffast$(O) all: $(LIBTARGET)