Re: Defining dependencies in Automake

2010-06-22 Thread Gary V. Vaughan
[please delete autoconf@gnu.org from Cc: if you reply] This is really an automake question, so you posted to the wrong list! On 22 Jun 2010, at 22:32, Sam Silla wrote: > Greetings, > > I have a Makefile.am file right now that looks like this: > > lib_LIBRARIES = foo.a > > foo_a_SOURCES = bar.F

Re: checking for header/library mismatch, rpath problem?

2010-06-22 Thread Adam Mercer
On Wed, Jun 16, 2010 at 12:19, Ralf Wildenhues wrote: >> Is there a way the appropriate platform-specific options can be added >> automatically? > > You can use the gnulib module havelib and the macros it provides. I've been looking at these macros and they don't seem to be setting the platform

Defining dependencies in Automake

2010-06-22 Thread Sam Silla
Greetings, I have a Makefile.am file right now that looks like this: lib_LIBRARIES = foo.a foo_a_SOURCES = bar.F90 baz.F90 However, bar.F90 depends on several other Fortran files (x.F90, y.F90, z.F90). I would like to set up Automake to rebuild bar.o if the source of one of these dependencies c