On 12/11/19, Georg-Johann Lay <a...@gjlay.de> wrote:
>> On Tue, 10 Dec 2019, Georg-Johann Lay wrote:
[...]
>>> Will this also work with same file names? Like
>>>
>>> avrfoo_LIBRARIES = libfoo.a
>>>
>>> avrbar_LIBRARIES = libfoo.a
>>>
>>> or would that confuse the tools?
[...]
> It appears to work though, and even if the libs are built multiple
> times, I could reduce the number of Makefile.am's from ~1200 to ~250.

Another option is to use an install hook to copy a file installed in one
location into all the other locations.  Using a hook would also enable you
to e.g., link the files instead of copying them when that is possible.

Cheers,
  Nick

Reply via email to