Hi Ruediger,

* Ruediger Ranft wrote on Thu, Apr 28, 2005 at 09:04:17AM CEST:
> 
> currently I have a project where some C sources are automaticly 
> generated by other programms during the build stage. So I added some 
> rules like
> foo.c foo.h : foo.othersouce
>       foocompiler $(srcdir)/foo.othersouce -o $(top_builddir)/bar/foo

Please look at
  info Automake Multiple\ Outputs
and also at
  info Automake Sources
in order to read up on "Built Sources".

> There are some other source file which have dependencies to this files, 
> so I want this dependencies resolved by make when buildung the project.
> So I added a rule for one of the dependant files like
*snip*
> at the top of my Makefile.am.

It might also be helpful to search for "DEPENDENCIES" in
  info Automake "Program and Library Variables"
and elsewhere around the fine manual.

Does this provide sufficient information for you?  If not, please
provide a specific example, what you did, and what you expect.

Regards,
Ralf


Reply via email to