configure.ac: enable automake's subdir-objects option
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 18 Mar 2024 18:39:26 +0000 (14:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 4 Sep 2024 21:08:41 +0000 (21:08 +0000)
commitfc68067071a0a1888d9dbba2d27fdd138b96964e
tree746afd20776133da695522aa0eb2e45118a2b6ec
parent30538d9ee990c2641a26ed467cdae85473c80c4f
configure.ac: enable automake's subdir-objects option

From [1]:

    subdir-objects

        If this option is specified, then objects are placed into the
        subdirectory of the build directory corresponding to the
        subdirectory of the source file. For instance, if the source file is
        subdir/file.cxx, then the output file would be subdir/file.o. See
        Program and Library Variables.

This will allow reducing the number of Makefiles, but placing rules in
Makefiles in parent directories, instead of having Makefiles in every
single directory with something that needs to be built.

[1] https://www.gnu.org/software/automake/manual/html_node/List-of-Automake-options.html

Change-Id: Ic0c6ee5d809dee6b9e560239abd15408b28d9695
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
This page took 0.024649 seconds and 4 git commands to generate.