summaryrefslogtreecommitdiff
path: root/lib/libss
diff options
context:
space:
mode:
authorgrr <grr@cvs.openbsd.org>1997-07-07 08:42:40 +0000
committergrr <grr@cvs.openbsd.org>1997-07-07 08:42:40 +0000
commit9c980a1d66de0c581f53571cc8ef7b9899dbd8cd (patch)
treed2ece2eff8a08e9ab8c24ae8401dbd908975dc5f /lib/libss
parent85830c1606bf42bcd238da3c492a8a2f23957e5e (diff)
fix make clean/make depend confusion with a cleandir: rule
Diffstat (limited to 'lib/libss')
-rw-r--r--lib/libss/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libss/Makefile b/lib/libss/Makefile
index 5eacd41674d..caf123a3cfe 100644
--- a/lib/libss/Makefile
+++ b/lib/libss/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 1997/04/27 20:56:16 millert Exp $
+# $OpenBSD: Makefile,v 1.7 1997/07/07 08:42:39 grr Exp $
LIB= ss
HDRS= ss.h ${.OBJDIR}/ss_err.h
@@ -7,7 +7,7 @@ SRCS= ss_err.c data.c error.c execute_cmd.c help.c invocation.c list_rqs.c \
std_rqs.c
CFLAGS+=-I. -I${.CURDIR}/.. -I${.CURDIR} -I${.CURDIR}/../com_err
LDADD+= ${COM_ERR}
-CLEANFILES+= ss_err.c ss_err.h std_rqs.c ss
+CLEANFILES+= ss_err.c ss_err.h std_rqs.c
ss_err.h ss_err.c: ${.CURDIR}/ss_err.et
test -e ss_err.et || ln -s ${.CURDIR}/ss_err.et .
@@ -33,4 +33,7 @@ includes: ss_err.h
beforedepend:
test -h ss || ln -s . ss
+cleandir: _SUBDIRUSE clean
+ rm -f ss
+
.include <bsd.lib.mk>