X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3156ba6ea663e020b1a3ad3646ee48c885d8b736..80a24267cbc17d85e278e1f10cdfdaea12199639:/src/zlib/makefile.vc?ds=sidebyside diff --git a/src/zlib/makefile.vc b/src/zlib/makefile.vc index f806ae9f1a..fdcbbb97c7 100644 --- a/src/zlib/makefile.vc +++ b/src/zlib/makefile.vc @@ -34,7 +34,11 @@ LIB=tlib LDFLAGS=$(MODEL) O=.obj +!if "$(FINAL)" == "1" LIBTARGET=..\..\lib\zlib.lib +!else +LIBTARGET=..\..\lib\zlibd.lib +!endif # variables OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \ @@ -91,7 +95,7 @@ zutil.obj: zutil.c zutil.h zlib.h zconf.h LIBOBJECTS = $(OBJ1) $(OBJ2) $(LIBTARGET): $(LIBOBJECTS) - del $(LIBTARGET) + -erase $(LIBTARGET) lib @<< -out:$(LIBTARGET) $(LIBOBJECTS)