On Apr 17, 2001, "Robert Collins" <[EMAIL PROTECTED]> 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                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to