Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Split "cleanprog" target apart: now you can zap onl...
details: https://anonhg.NetBSD.org/src/rev/394cd1645ab2
branches: trunk
changeset: 515403:394cd1645ab2
user: tls <tls%NetBSD.org@localhost>
date: Mon Sep 24 01:04:32 2001 +0000
description:
Split "cleanprog" target apart: now you can zap only object files or
CLEANFILES (needed to fix crunchgen lossage).
diffstat:
share/mk/bsd.prog.mk | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r a2b100a6881a -r 394cd1645ab2 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk Mon Sep 24 00:40:35 2001 +0000
+++ b/share/mk/bsd.prog.mk Mon Sep 24 01:04:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prog.mk,v 1.133 2001/09/13 23:23:26 thorpej Exp $
+# $NetBSD: bsd.prog.mk,v 1.134 2001/09/24 01:04:32 tls Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.if !target(__initialized__)
@@ -144,9 +144,14 @@
realall: ${PROG} ${SCRIPTS}
-cleanprog:
- rm -f a.out [Ee]rrs mklog core *.core \
- ${PROG} ${OBJS} ${LOBJS} ${CLEANFILES}
+cleanprog: cleanobjs cleanextra
+ rm -f a.out [Ee]rrs mklog core *.core ${PROG}
+
+cleanobjs:
+ rm -f ${OBJS} ${LOBJS}
+
+cleanextra:
+ rm -f ${CLEANFILES}
.if defined(SRCS) && !target(afterdepend)
afterdepend: .depend
Home |
Main Index |
Thread Index |
Old Index