Makefile revision 1.16
11.16Slukem# $NetBSD: Makefile,v 1.16 2001/12/28 01:32:40 lukem Exp $ 21.1Sgwr 31.15StvLIB= z 41.15StvNOMAN= # defined 51.16SlukemUSE_SHLIBDIR= yes 61.6Sgwr 71.13SgarbledSRCS= adler32.c compress.c crc32.c deflate.c gzio.c infblock.c \ 81.11Stron infcodes.c inffast.c inflate.c inftrees.c infutil.c trees.c uncompr.c \ 91.15Stv zutil.c gzio_compat.c 101.1Sgwr 111.15StvCPPFLAGS+= -I${.CURDIR} 121.15StvCLEANFILES+= minigzip 131.1Sgwr 141.15StvINCS= zconf.h zlib.h 151.15StvINCSDIR= /usr/include 161.1Sgwr 171.1Sgwr.include <bsd.lib.mk> 181.1Sgwr 191.1Sgwrtest: minigzip 201.1Sgwr echo hello world | ./minigzip | ./minigzip -d 211.1Sgwr 221.1Sgwr# Note: CFLAGS ommitted by intention! 231.1Sgwr# This is to verify that zlib.h works standalone. 241.15Stvminigzip: minigzip.c libz.a 251.15Stv ${CC} -o minigzip ${.CURDIR}/minigzip.c libz.a 26