This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: derived sources and parallel builds


On Mar 21, 2000, Alex Hornby <alex@anvil.co.uk> 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

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]