Allow source in subdirectories
tkralphs opened this issue · 4 comments
tkralphs commented
Is there a reason not to allow source to be in subdirectories? I'm in the process of converting SYMPHONY to the new build system. Currently, SYMPHONY has a multi-level structure in its src
directory and this is not supported in master
. Changing the call to AM_INIT_AUTOMAKE
to
AM_INIT_AUTOMAKE([no-define no-dist -Wall subdir-objects])
fixes the issue. Is there any downside to this?
svigerske commented
I usually put the subdir-objects into the Makefile.am where necessary:
AUTOMAKE_OPTIONS = foreign subdir-objects
tkralphs commented
Ah, OK, I missed that you can do that. Thanks!
svigerske commented
I'll still give it a try to add this to AM_INIT_AUTOMAKE.