Date: Thu, 8 Jan 2004 13:43:04 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Ceri Davies <ceri@submonkey.net>, Eric F Crist <ecrist@adtechintegrated.com>, freebsd-questions@freebsd.org Subject: Re: What is the difference between ; and && Message-ID: <20040108134304.GA3863@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040107233858.GM8322@submonkey.net> References: <200401071736.42467.ecrist@adtechintegrated.com> <20040107233858.GM8322@submonkey.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 07, 2004 at 11:38:58PM +0000, Ceri Davies wrote: > On Wed, Jan 07, 2004 at 05:36:42PM -0600, Eric F Crist wrote: > > make depend && make && make install > [Of course, if the Makefile has it's dependencies correct, then a simple > "make install" will achieve the same thing.] Hmmm... Usually 'make depend' generates a dependency Makefile, which is .included'ed into the main Makefile on subsequent runs. That means that make depend ; make all has a different effect to: make depend all Unless make(1) has been taught to keep tabs on it's included Makefiles and knows how to re-load them if their modification time changes. As I understood it, that was a trick that gmake(1) could do but that BSD make couldn't. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE//V5odtESqEQa7a0RAu+kAJ9gKpmmf1K/yz7THBsMtAVABScv4QCdE9wI 1KD9UIoKxqbMlLx7Bg+Lc30= =eXCf -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040108134304.GA3863>