From fd182f6d1e6331e17b04c6b9b4c0421c61a1d511 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 22 Oct 2009 18:23:22 +0200 Subject: [PATCH] Makefile.am: enable the "subdir-objects" option Don't clutter the top directory with *.o files. --- Makefile.am | 2 +- configure.ac | 2 +- 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])