clean up 'make test' so that it works even in the presence of

'obj' dirs, and added minigzip to CLEANFILES.
This commit is contained in:
cgd 1996-09-12 22:33:40 +00:00
parent 5da64b50ae
commit 98a5e78a03

View File

@ -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