Subject: misc/174: Default Makefiles don't clean enough
To: None <gnats-admin>
From: None <sjr@zombie.ncsc.mil>
List: netbsd-bugs
Date: 03/19/1994 11:35:03
>Number:         174
>Category:       misc
>Synopsis:       Default Makefiles don't clean enough
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 19 11:35:01 1994
>Originator:     Stephen J. Roznowski
>Organization:
Beyond the Great Beyond
>Release:        NetBSD-current
>Environment:

System:	NetBSD xxx 0.9a A3000#2 amiga
Architecture: amiga

>Description:

	The default Makefiles don't clean up after programs that drop
	code during the build.

>How-To-Repeat:

	Have a program drop core, then type "make clean". Note that
	the core file has not been removed.

>Fix:

	Change bsd.lib.mk and bsd.prog.mk to do the following during
	the "clean" target:

	rm -f a.out Errs errs mklog core *.core ${CLEANFILES}
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------