diff options
author | bde <bde@FreeBSD.org> | 1998-02-25 02:56:58 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-02-25 02:56:58 +0000 |
commit | ff694902b34f411a83d04c782b9310e79c3701e9 (patch) | |
tree | 99040cc5e08ea860751ef719d3e607401d02a39b /share/mk | |
parent | 4c126f13e855e06917efafb95fea2d261243ab90 (diff) | |
download | FreeBSD-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.mk | 12 |
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: |