NetBSD/lib/libz/Makefile

26 lines
581 B
Makefile
Raw Normal View History

1998-11-01 23:33:24 +03:00
# $NetBSD: Makefile,v 1.11 1998/11/01 20:33:25 tron Exp $
LIB= z
NOMAN= zlib.3
1998-11-01 23:33:24 +03:00
SRCS= adler32.c compress.c crc32.c deflate.c example.c gzio.c infblock.c \
infcodes.c inffast.c inflate.c inftrees.c infutil.c trees.c uncompr.c \
zutil.c
1997-10-23 07:31:09 +04:00
CPPFLAGS+= -I${.CURDIR}
CLEANFILES+= minigzip
INCS= zconf.h zlib.h
INCSDIR=/usr/include
.include <bsd.lib.mk>
test: minigzip
echo hello world | ./minigzip | ./minigzip -d
# Note: CFLAGS ommitted by intention!
# This is to verify that zlib.h works standalone.
minigzip : minigzip.c libz.a
$(CC) -o minigzip ${.CURDIR}/minigzip.c libz.a