From 98a5e78a039c596ec960c77ce84715a38e1ffacd Mon Sep 17 00:00:00 2001 From: cgd Date: Thu, 12 Sep 1996 22:33:40 +0000 Subject: [PATCH] clean up 'make test' so that it works even in the presence of 'obj' dirs, and added minigzip to CLEANFILES. --- lib/libz/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libz/Makefile b/lib/libz/Makefile index 0da522b08d55..0cc4157e3ba4 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 1996/09/12 19:33:53 gwr Exp $ +# $NetBSD: Makefile,v 1.2 1996/09/12 22:33:40 cgd Exp $ # LIB= z @@ -9,6 +9,8 @@ CFLAGS+= -D_ZLIB_PRIVATE -I${.CURDIR} NOMAN= +CLEANFILES+= minigzip + includes: -cd ${.CURDIR}; cmp -s zlib.h ${DESTDIR}/usr/include/zlib.h > \ /dev/null 2>&1 || \ @@ -23,4 +25,4 @@ test: minigzip # Note: CFLAGS ommitted by intention! # This is to verify that zlib.h works standalone. minigzip : minigzip.c libz.a - $(CC) -o minigzip minigzip.c libz.a + $(CC) -o minigzip ${.CURDIR}/minigzip.c libz.a