Re: Noobie question about doing "src" dirs

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

 





Tyler MacDonald wrote:
Douglas Phillipson <phillipd@xxxxxxxxxxx> wrote:
I have:
Makefile.am:
SUBDIRS = srcbin_PROGRAMS = hello

Those two should not be on the same line :-)

It's creating the Makefile.in in the "src" dir, but not the top level dir. What Am I doing wrong?

Everything else looks good!

		- Tyler



Actually they aren't on the same line, my copy/paste messed up and stupidly, I didn't check it prior to the send.
Here are the corrected files:

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)

Top level Makefile.am:

SUBDIRS = src

src/Makefile.am:

bin_PROGRAMS = hello
hello_SOURCES = hello.c helloutils.c


Makefile.in in top level is not getting made...

Thanks

Doug P


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux