NetBSD/lib/libz/Makefile
christos 8259dd08d6 Makefile cleanups:
use INCS variable to install includes and FILES to install objects.
1997-03-24 22:11:48 +00:00

25 lines
569 B
Makefile

# $NetBSD: Makefile,v 1.5 1997/03/24 22:11:59 christos Exp $
LIB= z
SRCS= adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \
zutil.c inflate.c infblock.c inftrees.c infcodes.c infutil.c inffast.c
CFLAGS+= -D_ZLIB_PRIVATE -I${.CURDIR}
NOMAN=
CLEANFILES+= minigzip
INCS=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