Date: Mon, 28 Oct 1996 12:49:10 +1100 From: Bruce Evans <bde@zeta.org.au> To: chuckr@glue.umd.edu, sprice@hiwaay.net Cc: current@freebsd.org, richardc@CSUA.Berkeley.EDU Subject: Re: -current failed Message-ID: <199610280149.MAA08278@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> Doing a make world automatically does the make obj for you. Make cleandir >> kills them. If there isn't a obj directory avaialble when the make >> starts, then the obj's fall into the source directories. One very common >> error is the do make clean, and think your objs are really clean. They >> aren't, the .depend files survive, and cause grief. Use `make clean cleandepend' to clean everything. If you use a separate object tree, then it is easy to check that this worked (there should be no files except directories in the object tree). >Attached is a patch to /usr/share/mk/bsd.dep.mk that I use to get rid >of the .depend file when make clean is done. I didn't commit it b/c I >don't think everybody (or even the majority) wants this, but you >might give it a try if you like the functionality. >+CLEANFILES+= ${DEPENDFILE} This is faster, because `make clean cleandepend' traverses the tree twice. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610280149.MAA08278>