GNUmakefile
422 Bytes
DEPTH=../../
include $(DEPTH)/BBdefs
TARGETS = libz.a
CFILES = gzip.c adler32.c infback.c inffast.c inflate.c inftrees.c zutil.c
OPTIMIZER = -Os
LCOPTS = -Wall -nostdinc -G 0
LCDEFS = -DNO_ERRNO_H -DNO_GZIP
include $(COMMONRULES)
libz.a: $(OBJECTS)
$(AR) rc $@ $(OBJECTS)
default: $(TARGETS)
headers:
$(INSTALL) -m 444 -F /usr/include gzip.h
exports install: $(TARGETS)
$(INSTALL) -m 444 -F /usr/lib libz.a