Date: Tue, 16 Jul 1996 12:57:05 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, imp@village.org Cc: current@freebsd.org Subject: Re: Nits Message-ID: <199607160257.MAA30766@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>: Yes. It shouldn't take long to redo it, especially if you don't run >: `make depend' separately (`make depend all' sometimes uses out of date >: dependencies). >Then shouldn't the make world target do 'make depend && make all >install' rather than 'make depend all install'? Or is there a reason >why make world doesn't that? It should do something like that if necessary. It usually isn't necessary because of an intended(?) side effect of the subdirectory handling: the `depend' target for each subdirectory gets done before any `all' targets, so the `all' targets for subdirectories get handled by different `make' processes, so there is no problem. However this is reported to not work in some cases. It certainly doesn't work if you cd to a leaf directory and run `make depend all install' there. Note that the subdirectory handling stops make `make depend all' from being an optimization for the same reason that it makes it work. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607160257.MAA30766>