This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Addint additional dependencies to a target
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Ruediger Ranft <rranft1 at HTWM dot De>
- Cc: automake at gnu dot org
- Date: Thu, 28 Apr 2005 15:38:26 +0200
- Subject: Re: Addint additional dependencies to a target
- Organization: Department of Numerical Simulation, University of Bonn
- References: <42708AF1.90506@web.de>
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