Add a cleandir to make build, to make it more like it was before.

This commit is contained in:
cjs 1997-05-29 14:23:02 +00:00
parent dfb524fa46
commit 922ba53c9c
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.40 1997/05/26 03:55:19 cjs Exp $
# $NetBSD: Makefile,v 1.41 1997/05/29 14:23:02 cjs Exp $
.include <bsd.own.mk> # for configuration variables.
@ -58,6 +58,9 @@ oldbuild:
build:
@# can't do domestic includes until crt0.o, etc. is built.
${MAKE} EXPORTABLE_SYSTEM=1 includes
.if !defined(UPDATE)
${MAKE} cleandir
.endif
(cd ${.CURDIR}/lib/csu && ${MAKE} depend && ${MAKE})
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE})
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE})