Hi,
I am trying to prepare a package to the GNU standard, and I have a slight problem. In a directory I have a code which I want to be compiled into an executable, but I only want it to be compiled as a part of make check. My Makefile.am looks like this: check_PROGRAMS = dbtest dbtest_SOURCES = dbtest.cc dbtest_LDADD = $(top_builddir)/base/src/libgeopp.a INCLUDES = -I$(top_scrdir)/base/include TESTS = dbtest When I type make at the top level directory, I get the error make[3]: Entering directory `/home/dave/GEOPP/base/test' make[3]: *** No rule to make target `all'. Stop. Does anybody know why this is happening? Thanks in advance, David Churches. ------------------------------------------------------------- David Churches Department of Physics and Astronomy Cardiff University, PO Box 913, Cardiff, CF2 3YB, U.K. Phone: + 44-29-20874785, 20875121 (direct line) Fax: + 44-29-20874056 [EMAIL PROTECTED]