automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Makefile.in and Makefile not generated when using a static library


From: William Pursell
Subject: Re: Makefile.in and Makefile not generated when using a static library
Date: Sun, 11 Apr 2010 07:02:54 -1000
User-agent: Thunderbird 2.0.0.24 (Macintosh/20100228)

isulsz wrote:

> I am new to GNU Auto tools and I am trying to build a project that contains
> several source files and a static library.
<snip>

> The configure.in is
> AC_INIT(./src/app/SimpMSourSimu.cpp)
> AM_INIT_AUTOMAKE(MultiSour, 0.8)
> AC_PROG_CXX
> AC_PROG_INSTALL
> AC_PROG_RANLIB
> AC_OUTPUT(src/app/Makefile, src/Random/Makefile, Makefile)


Rename the file configure.ac, and modify the contents to be:

AC_INIT([MultiSour], [0.8])
AC_CONFIG_SRCDIR([src/app/SimpMSourSimu.cpp])
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CXX
AC_PROG_INSTALL
LT_INIT
AC_CONFIG_FILES([
        src/app/Makefile
        src/Random/Makefile
        Makefile
])
AC_OUTPUT


Also, instead of running aclocal, libtoolize, autoconf, and automake
by hand, just run autoreconf -i

-- 
William Pursell




reply via email to

[Prev in Thread] Current Thread [Next in Thread]