!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
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) \
LIBOBJECTS = $(OBJ1) $(OBJ2)
$(LIBTARGET): $(LIBOBJECTS)
- -del $(LIBTARGET)
+ -erase $(LIBTARGET)
lib @<<
-out:$(LIBTARGET)
$(LIBOBJECTS)