* Erik de Castro Lopo wrote on Fri, Jun 06, 2008 at 01:49:15PM CEST: > http://www.mega-nerd.com/tmp/amtest-0.1.tar.gz
> gcc -g -O2 -o amtest amtest.o > amtest.o: In function `main': > /tmp/amtest-0.1/amtest.c:10: undefined reference to `cpp_test' > > For some reason, the automake generated Makefile drops the C++ object > file from the link. Well, try this for a Makefile.am instead (untested). HTH. Cheers, Ralf ## Process this file with automake to produce Makefile.in bin_PROGRAMS = amtest amtest_SOURCES = cpp.cc amtest.c amtest.h EXTRA_DIST = autogen.sh TESTS = amtest
