What is the difference between ; and &&
Matthew Seaman
m.seaman at infracaninophile.co.uk
Thu Jan 8 05:43:17 PST 2004
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
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040108/af479052/attachment.bin
More information about the freebsd-questions
mailing list