LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   automake (https://www.linuxquestions.org/questions/programming-9/automake-30501/)

verigoth 09-16-2002 12:36 PM

automake
 
now my first mistake is i'm not sure what version of automake i'm using, but something changed somewhere and i can't find it in the documentation...here's my problem:

my project has two shared objects and an executable (or bin...). the following layout works for the SOs, but not the executable:

INCLUDES = -I$(top_srcdir)/include
liblt_LIBRARIES = librfbase
librfbase_la_SOURCES = { ... source list ... }

-- but in the other Makefile.am, i have this:

INCLUDES = -I$(top_srcdir)/include
bin_PROGRAMS = rfall
rfall_SOURCES = main.c { etc }

automake -i
aclocal
autoconf
./configure

no problem

make

builds both SOs, when it gets to the app it says

'Cannot find target main., needed for rfall'

any ideas?

verigoth


All times are GMT -5. The time now is 02:45 PM.