This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
problem (fwd)
- From: David Churches <David dot Churches at astro dot cf dot ac dot uk>
- To: automake at gnu dot org
- Date: Wed, 24 Apr 2002 15:27:57 +0100 (BST)
- Subject: problem (fwd)
Hi,
Please ignore the mail which I sent out an hour or so ago. I have since
found out the cause of the problem - it was caused by an empty makefile
hanging around in the same directory as the Makefile which was built by
configure.
Sorry for any time wasted,
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
d.churches@astro.cf.ac.uk
---------- Forwarded message ----------
Date: Wed, 24 Apr 2002 14:16:06 +0100 (BST)
From: David Churches <spxdkc@carina.astro.cf.ac.uk>
To: automake@gnu.org
Subject: problem
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
d.churches@astro.cf.ac.uk