remove core.${PROG}, not core
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 30 Jul 1992 05:38:41 +0000 (21:38 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 30 Jul 1992 05:38:41 +0000 (21:38 -0800)
SCCS-vsn: share/mk/bsd.README 5.2
SCCS-vsn: share/mk/bsd.lib.mk 5.35
SCCS-vsn: share/mk/bsd.prog.mk 5.33

usr/src/share/mk/bsd.README
usr/src/share/mk/bsd.lib.mk
usr/src/share/mk/bsd.prog.mk

index d8c382d..3ddf546 100644 (file)
@@ -1,4 +1,4 @@
-#      @(#)bsd.README  5.1 (Berkeley) %G%
+#      @(#)bsd.README  5.2 (Berkeley) %G%
 
 This is the README file for the new make "include" files for the BSD
 source tree.  The files are installed in /usr/share/mk, and are, by
 
 This is the README file for the new make "include" files for the BSD
 source tree.  The files are installed in /usr/share/mk, and are, by
@@ -138,7 +138,7 @@ It has seven targets:
                build the program and its manual page
        clean:
                remove the program, any object files and the files a.out,
                build the program and its manual page
        clean:
                remove the program, any object files and the files a.out,
-               Errs, errs, mklog, and core.
+               Errs, errs, mklog, and core.${PROG}.
        cleandir:
                remove all of the files removed by the target clean, as
                well as .depend, tags, and any manual pages.
        cleandir:
                remove all of the files removed by the target clean, as
                well as .depend, tags, and any manual pages.
index 49bdd23..31eb865 100644 (file)
@@ -1,4 +1,4 @@
-#      @(#)bsd.lib.mk  5.34 (Berkeley) %G%
+#      @(#)bsd.lib.mk  5.35 (Berkeley) %G%
 
 .if exists(${.CURDIR}/../Makefile.inc)
 .include "${.CURDIR}/../Makefile.inc"
 
 .if exists(${.CURDIR}/../Makefile.inc)
 .include "${.CURDIR}/../Makefile.inc"
@@ -89,13 +89,13 @@ llib-l${LIB}.ln: ${SRCS}
 
 .if !target(clean)
 clean:
 
 .if !target(clean)
 clean:
-       rm -f a.out Errs errs mklog core ${CLEANFILES} ${OBJS} ${POBJS} \
+       rm -f a.out Errs errs mklog ${CLEANFILES} ${OBJS} ${POBJS} \
            profiled/*.o lib${LIB}.a lib${LIB}_p.a llib-l${LIB}.ln
 .endif
 
 .if !target(cleandir)
 cleandir:
            profiled/*.o lib${LIB}.a lib${LIB}_p.a llib-l${LIB}.ln
 .endif
 
 .if !target(cleandir)
 cleandir:
-       rm -f a.out Errs errs mklog core ${CLEANFILES} ${OBJS} ${POBJS} \
+       rm -f a.out Errs errs mklog ${CLEANFILES} ${OBJS} ${POBJS} \
            profiled/*.o lib${LIB}.a lib${LIB}_p.a llib-l${LIB}.ln
        rm -f ${MANALL} ${.CURDIR}/tags .depend
 .endif
            profiled/*.o lib${LIB}.a lib${LIB}_p.a llib-l${LIB}.ln
        rm -f ${MANALL} ${.CURDIR}/tags .depend
 .endif
index 9fa961a..add9d8b 100644 (file)
@@ -1,4 +1,4 @@
-#      @(#)bsd.prog.mk 5.32 (Berkeley) %G%
+#      @(#)bsd.prog.mk 5.33 (Berkeley) %G%
 
 .if exists(${.CURDIR}/../Makefile.inc)
 .include "${.CURDIR}/../Makefile.inc"
 
 .if exists(${.CURDIR}/../Makefile.inc)
 .include "${.CURDIR}/../Makefile.inc"
@@ -95,12 +95,12 @@ all: ${PROG} ${MANALL} _PROGSUBDIR
 
 .if !target(clean)
 clean: _PROGSUBDIR
 
 .if !target(clean)
 clean: _PROGSUBDIR
-       rm -f a.out [Ee]rrs mklog core ${PROG} ${OBJS} ${CLEANFILES}
+       rm -f a.out [Ee]rrs mklog core.${PROG} ${PROG} ${OBJS} ${CLEANFILES}
 .endif
 
 .if !target(cleandir)
 cleandir: _PROGSUBDIR
 .endif
 
 .if !target(cleandir)
 cleandir: _PROGSUBDIR
-       rm -f a.out [Ee]rrs mklog core ${PROG} ${OBJS} ${CLEANFILES}
+       rm -f a.out [Ee]rrs mklog core.${PROG} ${PROG} ${OBJS} ${CLEANFILES}
        rm -f .depend ${MANALL}
 .endif
 
        rm -f .depend ${MANALL}
 .endif