[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Noobie question about doing "src" dirs
From: |
Tyler MacDonald |
Subject: |
Re: Noobie question about doing "src" dirs |
Date: |
Fri, 26 May 2006 13:59:36 -0700 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
Douglas Phillipson <address@hidden> wrote:
> SUBDIRS = src
>
> My top level configure.in:
>
> AC_INIT(src/hello.c)
> AM_INIT_AUTOMAKE(hello,1.1)
> AC_PROG_CC
> AC_PROG_INSTALL
> AC_OUTPUT(Makefile src/Makefile)
>
> What else needs to go in src? and What should it contain?
You do need a makefile.am, presumedly with something like this:
bin_PROGRAMS = hello
hello_SOURCES = hello.c
> Do I only need to do aclocal, autoconf, automake -a from the top level dir?
After adding that Makefile.am, yeah. or run "autoreconf", which will
do all of those steps for you.
Cheers,
Tyler
- Noobie question about doing "src" dirs, Douglas Phillipson, 2006/05/26
- Re: Noobie question about doing "src" dirs,
Tyler MacDonald <=
- Re: Noobie question about doing "src" dirs, Douglas Phillipson, 2006/05/31
- Re: Noobie question about doing "src" dirs, Tyler MacDonald, 2006/05/31
- Re: Noobie question about doing "src" dirs, Douglas Phillipson, 2006/05/31
- Re: Noobie question about doing "src" dirs, Douglas Phillipson, 2006/05/31
- Re: Noobie question about doing "src" dirs, Harlan Stenn, 2006/05/31
- Re: Noobie question about doing "src" dirs, Stepan Kasal, 2006/05/31
- Re: Noobie question about doing "src" dirs, Douglas Phillipson, 2006/05/31
- Re: Noobie question about doing "src" dirs, Stepan Kasal, 2006/05/31
- Re: Noobie question about doing "src" dirs, Stepan Kasal, 2006/05/31
- Re: Noobie question about doing "src" dirs, Thomas Dickey, 2006/05/31