Alexandre Oliva writes:
 > On Mar 21, 2000, Alex Hornby <[EMAIL PROTECTED]> wrote:
 > 
 > > I would like to ensure that Foo_[sc].hh and Foo_[sc].cpp are present
 > > before Foo_impl.cpp is built for the first time.
 > 
 > How about just creating standard Makefile dependencies?
 > 
 > Foo_impl.o: Foo_s.hh Foo_c.hh Foo_s.cpp Foo_c.cpp
 > Foo_impl.$(OBJEXT): Foo_s.hh Foo_c.hh Foo_s.cpp Foo_c.cpp
 > 

That would work. I wanted to avoid adding dependencies manually
because a) I'm lazy :) and b) parallel builds are somewhat
non-deterministic so I could never be sure we'd covered them all.

Perhaps I could use automake --include-deps --no-force to add the auto
generated dependencies to the Makefile.in(s) and them check those into
our CVS repository (current Makefile.in is ignored as we consider it
derived from Makefile.am). The side effect of this is the usual for
generated files in CVS - conflicts and inconsistencies.

Alex.

Reply via email to