automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Addint additional dependencies to a target


From: Ralf Wildenhues
Subject: Re: Addint additional dependencies to a target
Date: Thu, 28 Apr 2005 15:38:26 +0200
User-agent: Mutt/1.4.1i

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

[Prev in Thread] Current Thread [Next in Thread]