Descend on obj, as well as clean, etc.

This commit is contained in:
cjs 1999-01-03 21:57:49 +00:00
parent 74f6e33bdf
commit 17652c59c0
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.94 1998/12/19 23:57:52 kristerw Exp $
# $NetBSD: Makefile,v 1.95 1999/01/03 21:57:49 cjs Exp $
# from: @(#)Makefile 8.3 (Berkeley) 1/7/94
.include <bsd.own.mk> # for EXPORTABLE_SYSTEM definition
@ -27,7 +27,7 @@ SUBDIR= apply apropos asa at audioctl banner basename bdes biff \
write xargs xinstall xlint xstr yacc yes ypcat \
ypmatch ypwhich
.if make(clean) || make(cleandir) || make(distclean)
.if make(obj) || make(clean) || make(cleandir) || make(distclean)
SUBDIR+=elf2aout elf2ecoff telnet
.else
@ -36,6 +36,6 @@ SUBDIR+=elf2aout elf2ecoff telnet
SUBDIR+= elf2aout elf2ecoff
.endif
.endif # make(clean) || make(cleandir) || make(distclean)
.endif # make(obj) || make(clean) || make(cleandir) || make(distclean)
.include <bsd.subdir.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 1998/09/05 14:58:50 lukem Exp $
# $NetBSD: Makefile,v 1.15 1999/01/03 21:58:37 cjs Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -39,8 +39,8 @@
# XXX Keep telnet(1) and libtelnet from getting out of sync during the build
# XXX process.
.if !exists(${.CURDIR}/../../domestic/usr.bin/telnet) || \
defined(EXPORTABLE_SYSTEM) || make(clean) || make(cleandir) || \
make(distclean)
defined(EXPORTABLE_SYSTEM) || \
make(obj) || make(clean) || make(cleandir) || make(distclean)
PROG= telnet