Hi,

On Mon, Mar 26, 2012 at 08:14:50PM +0200, Alon Bar-Lev wrote:
> Are for dependency tracking, so that if you change a file dependencies
> will be recompiled... This was the same in previous build.
> 
> So we had:
> ---
> gcc -DHAVE_CONFIG_H -I.   -I. -I/usr/kerberos/include    -g -O2 -MT
> status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c
> ---

Fine with me...

> And now:
> ---
> if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
> -I../../src/compat      -I/usr/include -I/usr/include     -g -O2 -MT
> status.o -MD -MP -MF ".deps/status.Tpo" -c -o status.o status.c;  then
> mv -f ".deps/status.Tpo" ".deps/status.Po"; else rm -f
> ".deps/status.Tpo"; exit 1; fi
> ---

... convolution.  Even the quotation marks get inflation now.

> What this makes sure is that if compile fails the dependencies is removed....

Why would anyone want to do that, on a production build?


But anyway.  I've stated my opinion, you've stated yours, and now it's
up to the rest of the community to form a "community decision" which is
the way to go.

Thanks for explaining your view - I sometimes can't help myself, I'm an
old-fashioned programmer who writes Makefiles by hand and has a dislike
for automation that's brittle enough to require careful tending...

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpmoApFanL2N.pgp
Description: PGP signature

Reply via email to