> "Matthew" == Matthew R MacIntyre <[EMAIL PROTECTED]> writes:
Tom> This isn't really enough information to go on. How about
Tom> posting the relevant section of your Makefile.am?
Matthew> I think I've got it figured out, but if this is not the
Matthew> preferred solution, please let me kno
Hi,
> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes:
Tom> This isn't really enough information to go on. How about
Tom> posting the relevant section of your Makefile.am?
I think I've got it figured out, but if this is not the preferred
solution, please let me know what the best w
> "Matthew" == Matthew R MacIntyre <[EMAIL PROTECTED]> writes:
Matthew> Ok, tried that. I had to change testprogram_LDADD to
Matthew> testprogram_LDFLAGS, and fix a few other autoconf errors, and
Matthew> then I got this error when building:
Matthew> make: *** No rule to make target `libArr
> "Matthew" == Matthew R MacIntyre <[EMAIL PROTECTED]> writes:
Matthew> How can I get automake setup the Makefile in the test/
Matthew> directory to link with the objects in the src/ directory?
You'd think that this would work:
AUTOMAKE_OPTIONS = subdir-objects
check_PROGRAMS = test
Please post your Makefile.am's and I'll take a look.
Michael
"Matthew R. MacIntyre" wrote:
>
> On Fri, 9 Feb 2001, Michael Bletzinger wrote:
> >
> > Wrap your objects in a noinstall library and have the test programs link
> > with it.
> >
> > ie.
> >
> > in your C++ directory:
> > noins
On Fri, Feb 09, 2001 at 05:08:48PM -0500, Matthew R. MacIntyre wrote:
: > testprogram_LDADD = -D../C++ directory -lMyCplusplus
:
: Ok, tried that. I had to change testprogram_LDADD to testprogram_LDFLAGS,
It should be LIBADD.
Lars J
--
Innovation is one percent inspiration and ninetynine pe
On Fri, 9 Feb 2001, Michael Bletzinger wrote:
>
> Wrap your objects in a noinstall library and have the test programs link
> with it.
>
> ie.
>
> in your C++ directory:
> noinst_LIBRARIES = libMyCplusplus.a
>
> in your test directory:
>
> testprogram_LDADD = -D../C++ directory -lMyCplusplus
Ok, t
"Matthew R. MacIntyre" wrote:
>
> Hi,
>
> I'm sure there is a fairly easy way to do this, but I just can't figure it
> out. I was hoping someone here could help me.
>
> I've got some c++ classes in my project's src/ directory, and I want to
> write some little driver programs in the test/ dire
Hi,
I'm sure there is a fairly easy way to do this, but I just can't figure it
out. I was hoping someone here could help me.
I've got some c++ classes in my project's src/ directory, and I want to
write some little driver programs in the test/ directory to show that the
classes behave as expec