1
# Makefile for zlib. Modified for mingw32
2
# For conditions of distribution and use, see copyright notice in zlib.h
11
# Generate dependencies (see end of the file)
16
#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
17
#CFLAGS=-MMD -g -DDEBUG
18
CFLAGS=-O3 $(BUTT) -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
19
-Wstrict-prototypes -Wmissing-prototypes
21
# If cp.exe is not found, replace with copy /Y .
24
# The default value of RM is "rm -f."
25
# If "rm.exe" is not found, uncomment:
38
OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
39
zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o \
42
TEST_OBJS = minigzip.o untgz.o
44
all: minigzip.exe untgz.exe
52
$(LD) $(LDFLAGS) -o $@ $< $(LDLIBS)
57
$(RM) *.d *.o *.exe libz.a foo.gz
59
DEPS := $(wildcard *.d)