From owner-freebsd-questions@FreeBSD.ORG Thu Jan 8 05:43:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EB7E16A4CE for ; Thu, 8 Jan 2004 05:43:17 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4D8343D48 for ; Thu, 8 Jan 2004 05:43:10 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i08Dh50I004432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Jan 2004 13:43:05 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i08Dh4dI004431; Thu, 8 Jan 2004 13:43:04 GMT (envelope-from matthew) Date: Thu, 8 Jan 2004 13:43:04 +0000 From: Matthew Seaman To: Ceri Davies , Eric F Crist , freebsd-questions@freebsd.org Message-ID: <20040108134304.GA3863@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Ceri Davies , Eric F Crist , freebsd-questions@freebsd.org References: <200401071736.42467.ecrist@adtechintegrated.com> <20040107233858.GM8322@submonkey.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <20040107233858.GM8322@submonkey.net> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: What is the difference between ; and && X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 13:43:17 -0000 --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--