diff options
author | bde <bde@FreeBSD.org> | 1997-12-17 15:18:53 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-12-17 15:18:53 +0000 |
commit | 60c58bdca7883203e82a73da5b86be70ecb7bf3a (patch) | |
tree | 8583f0ad3b1c677b15253ed6ed11b8f948ceafef /share/mk | |
parent | 1a1b424469169cd0b0d17bbcde443ae9c2efca03 (diff) | |
download | FreeBSD-src-60c58bdca7883203e82a73da5b86be70ecb7bf3a.zip FreeBSD-src-60c58bdca7883203e82a73da5b86be70ecb7bf3a.tar.gz |
Oops, rm -f can't handle empty lists.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 3395e2d..69c4e1b 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 -# $Id: bsd.lib.mk,v 1.63 1997/09/05 11:45:12 peter Exp $ +# $Id: bsd.lib.mk,v 1.64 1997/12/17 13:36:44 bde Exp $ # .if exists(${.CURDIR}/../Makefile.inc) @@ -199,7 +199,9 @@ clean: _SUBDIR rm -f a.out ${OBJS} ${CLEANFILES} rm -f lib${LIB}.a # llib-l${LIB}.ln rm -f ${POBJS} lib${LIB}_p.a +.if defined(SOBJS) && !empty(SOBJS) rm -f ${SOBJS} +.endif rm -f lib${LIB}.so.*.* lib${LIB}_pic.a .if defined(CLEANDIRS) && !empty(CLEANDIRS) rm -rf ${CLEANDIRS} |