summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-25 02:56:58 +0000
committerbde <bde@FreeBSD.org>1998-02-25 02:56:58 +0000
commitff694902b34f411a83d04c782b9310e79c3701e9 (patch)
tree99040cc5e08ea860751ef719d3e607401d02a39b /share/mk
parent4c126f13e855e06917efafb95fea2d261243ab90 (diff)
downloadFreeBSD-src-ff694902b34f411a83d04c782b9310e79c3701e9.zip
FreeBSD-src-ff694902b34f411a83d04c782b9310e79c3701e9.tar.gz
Removed clean target. Simply add to CLEANFILES so that the default target
in bsd.obj.mk works.
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.prog.mk12
1 files changed, 2 insertions, 10 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index ba7d1f3..2b05859 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
-# $Id: bsd.prog.mk,v 1.61 1998/02/19 01:30:23 eivind Exp $
+# $Id: bsd.prog.mk,v 1.62 1998/02/19 14:53:29 eivind Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@@ -61,15 +61,7 @@ MAN1= ${PROG}.1
.MAIN: all
all: objwarn ${PROG} all-man _SUBDIR
-.if !target(clean)
-clean: _SUBDIR
- if [ -n "${PROG}" -o -n "${OBJS}" -o -n "${CLEANFILES}" ] ; then \
- rm -f ${PROG} ${OBJS} ${CLEANFILES} ; \
- fi
-.if defined(CLEANDIRS) && !empty(CLEANDIRS)
- rm -rf ${CLEANDIRS}
-.endif
-.endif
+CLEANFILES+= ${PROG} ${OBJS}
.if defined(PROG) && !defined(NOEXTRADEPEND)
_EXTRADEPEND:
OpenPOWER on IntegriCloud