Code

Makefile.am: enable the "subdir-objects" option
authorThomas Jansen <mithi@mithi.net>
Tue, 27 Oct 2009 08:19:55 +0000 (09:19 +0100)
committerThomas Jansen <mithi@mithi.net>
Tue, 27 Oct 2009 08:19:55 +0000 (09:19 +0100)
Don't clutter the top directory with *.o files similar to mpd.

Makefile.am
configure.ac

index 1033e66b3ab05a2fd7b27e1d93d01128dfb7bf21..994ce7a3d63b6d81b07ed4ec72231ae49931e039 100644 (file)
@@ -2,7 +2,7 @@ SUBDIRS = \
   po
 
 ACLOCAL_AMFLAGS = -I m4
-AUTOMAKE_OPTIONS = foreign 1.9 dist-bzip2
+AUTOMAKE_OPTIONS = foreign 1.9 dist-bzip2 subdir-objects
 
 AM_CPPFLAGS = \
        $(LIBMPDCLIENT_CFLAGS) \
index 1b615d9241e5c3f8105850b29a8fa297f628b03e..cdc797d60be74a86c03a471d3105480187eb191d 100644 (file)
@@ -2,7 +2,7 @@ AC_PREREQ(2.60)
 AC_INIT(ncmpc, 0.16~git, max@duempel.org)
 AC_CONFIG_SRCDIR([src/main.c])
 AC_CONFIG_AUX_DIR(build)
-AM_INIT_AUTOMAKE([foreign 1.9 dist-bzip2])
+AM_INIT_AUTOMAKE([foreign 1.9 dist-bzip2 subdir-objects])
 AM_CONFIG_HEADER([config.h])
 AC_CONFIG_MACRO_DIR([m4])