automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: target dependency bug


From: Alexandre Oliva
Subject: Re: target dependency bug
Date: 17 Apr 2001 02:15:30 -0300
User-agent: Gnus/5.090002 (Oort Gnus v0.02) XEmacs/21.1 (Cuyahoga Valley)

On Apr 17, 2001, "Robert Collins" <address@hidden> wrote:

> cf_gen_defines.h is being built. But cf_gen.o isn't being updated when
> cf_gen_defines.h is updated.

Did you --enable-dependency-tracking?

> And AFAICT, automake has enough info to make cf_gen_defines.h a
> dependency of cf_gen.o

How would it be able to it figure out?  You just told it
cf_gen_defines.h is a source of cf_gen (the executable).  Why should
it infer that it's cf_gen.o that depends on this header?

> I think I'm confused. Are you saying that CVS may make cf_gen.$(OBJEXT)
> depend on cf_gen_defines.h?

Nope.  I'm saying it would make sure BUILT_SOURCES are built before
any other source files are compiled.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

[Prev in Thread] Current Thread [Next in Thread]