Consider using LDADD to simplify executables' linked libraries
@pwithnall writes:
If you want to apply
$(CODE_COVERAGE_LIBS)
to all the build targets in this file, you could potentially setLDADD = $(CODE_COVERAGE_LIBS)
. Note it’s notAM_LDADD
, because that doesn’t exist (apparently; I haven’t verified in the autotools source).