3 # WARNING: the small model is supported but only for small values of
4 # MAX_WBITS and MAX_MEM_LEVEL. If you wish to reduce the memory
5 # requirements (default 256K for big objects plus a few K), you can add
6 # to CFLAGS below: -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14
7 # See zconf.h for details about the memory requirements.
18 CFLAGS=/Od $(CRTFLAG) /GX /Fo$@
20 !else if "$(FINAL)" == "hybrid"
21 CFLAGS=/Od $(CRTFLAG) /GX /Fo$@
24 CFLAGS=-O2 $(CRTFLAG) /GX /Fo$@
28 !if "$(CRTFLAG)" == ""
40 LIBTARGET=..\..\lib\zlib.lib
42 !else if "$(FINAL)" == "hybrid"
43 LIBTARGET=..\..\lib\zlibh.lib
46 LIBTARGET=..\..\lib\zlibd.lib
51 OBJ1 = $D\adler32$(O) $D\compress$(O) $D\crc32$(O) $D\gzio$(O) \
52 $D\uncompr$(O) $D\deflate$(O) $D\trees$(O)
53 OBJ2 = $D\zutil$(O) $D\inflate$(O) $D\infblock$(O) $D\inftrees$(O) \
54 $D\infcodes$(O) $D\infutil$(O) $D\inffast$(O)
61 $D\adler32.obj: adler32.c zutil.h zlib.h zconf.h
62 $(CC) -c $(CFLAGS) $(*B).c
64 $D\compress.obj: compress.c zlib.h zconf.h
65 $(CC) -c $(CFLAGS) $(*B).c
67 $D\crc32.obj: crc32.c zutil.h zlib.h zconf.h
68 $(CC) -c $(CFLAGS) $(*B).c
70 $D\deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
71 $(CC) -c $(CFLAGS) $(*B).c
73 $D\gzio.obj: gzio.c zutil.h zlib.h zconf.h
74 $(CC) -c $(CFLAGS) $(*B).c
76 $D\infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h\
78 $(CC) -c $(CFLAGS) $(*B).c
80 $D\infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h\
82 $(CC) -c $(CFLAGS) $(*B).c
84 $D\inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h
85 $(CC) -c $(CFLAGS) $(*B).c
87 $D\inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
88 $(CC) -c $(CFLAGS) $(*B).c
90 $D\infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h
91 $(CC) -c $(CFLAGS) $(*B).c
93 $D\inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
94 $(CC) -c $(CFLAGS) $(*B).c
96 $D\trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h
97 $(CC) -c $(CFLAGS) $(*B).c
99 $D\uncompr.obj: uncompr.c zlib.h zconf.h
100 $(CC) -c $(CFLAGS) $(*B).c
102 $D\zutil.obj: zutil.c zutil.h zlib.h zconf.h
103 $(CC) -c $(CFLAGS) $(*B).c
105 LIBOBJECTS = $(OBJ1) $(OBJ2)
107 $(LIBTARGET): $(LIBOBJECTS)