[Top][All Lists]

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

Re: question about test dependencies on libraries in

From: Ralf Wildenhues
Subject: Re: question about test dependencies on libraries in
Date: Fri, 8 Jul 2005 20:15:08 +0200
User-agent: Mutt/1.5.9i

Hi Ed,

* Ed Hartnett wrote on Fri, Jul 08, 2005 at 07:28:38PM CEST:
> I have a slew of test programs, and my contains something
> like this:
> # These programs are all built for make check in this directory.
> check_PROGRAMS = tst_nc_converts tst_h_files tst_h_atts tst_h_vars \

> # Each program depends on its C file and tests.h.
> tst_nc_converts_SOURCES = tst_nc_converts.c tests.h
> tst_h_files_SOURCES = tst_h_files.c tests.h

> It's a long list, and I am wondering if there is any easy way to
> specify that they *all* depend on tests.h, instead of listing it for
> each.

You don't need to specify header dependencies manually at all.  All that
is necessary is that tests.h is listed _once_ in some variable that will
cause Automake to put the header into the tarball when you do `make dist'.


reply via email to

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