| Summary: | make clean doesn't remove core files | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Andrew Stevenson <andrew> | ||||
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.1.1-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
On Mon, 6 Nov 2000 andrew@ugh.net.au wrote: > >Synopsis: make clean doesn't remove core files This is intentional. `make clean' only removes files that are created as a normal part of the build process. See the log for bsd.obj.mk. > >Description: > > /usr/share/mk/bsd.README, when refering to bsd.prog.mk, states: > > clean: > remove the program, any object files and the files a.out, > Errs, errs, mklog, and ${PROG}.core. This is one of many anachronisms in bsd.README. Bruce State Changed From-To: open->closed bde explained the cause for the reported problem and I concur. bde explained this to me a few months ago too, so don't feel bad ;-> |
/usr/share/mk/bsd.README, when refering to bsd.prog.mk, states: clean: remove the program, any object files and the files a.out, Errs, errs, mklog, and ${PROG}.core. however it only seem to do ${PROG} and the object files. How-To-Repeat: Go to a directory containing a Makefile that .includes bsd.prog.mk touch a.out ${PROG}.core etc make clean