aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-22 18:23:22 +0200
committerMax Kellermann <max@duempel.org>2009-10-22 18:23:22 +0200
commitfd182f6d1e6331e17b04c6b9b4c0421c61a1d511 (patch)
tree446167d081f2aa1dcc8ff70d765606d69ce680a4
parenta05d0d5d94412dfcc7b01ca6941df1d183676926 (diff)
downloadmpd-fd182f6d1e6331e17b04c6b9b4c0421c61a1d511.tar.gz
mpd-fd182f6d1e6331e17b04c6b9b4c0421c61a1d511.tar.xz
mpd-fd182f6d1e6331e17b04c6b9b4c0421c61a1d511.zip
Makefile.am: enable the "subdir-objects" option
Don't clutter the top directory with *.o files.
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 9ad64eaf9..ce1160c00 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
ACLOCAL_AMFLAGS = -I m4
-AUTOMAKE_OPTIONS = foreign 1.10 dist-bzip2
+AUTOMAKE_OPTIONS = foreign 1.10 dist-bzip2 subdir-objects
AM_CPPFLAGS = -I$(srcdir)/src $(GLIB_CFLAGS)
diff --git a/configure.ac b/configure.ac
index 150e81aa0..3ffe89b03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
AC_PREREQ(2.60)
AC_INIT(mpd, 0.16~git, musicpd-dev-team@lists.sourceforge.net)
AC_CONFIG_SRCDIR([src/main.c])
-AM_INIT_AUTOMAKE([foreign 1.10 dist-bzip2])
+AM_INIT_AUTOMAKE([foreign 1.10 dist-bzip2 subdir-objects])
AM_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIR([m4])