chadhogg wrote:

Is there a way I can get automake to recognize that it does not need more
than one copy of a .o file for a given set of compiler options?

It might do what you want if you build these common sources into two convenience libraries -- look that term up in the docs -- and change the link options for the various programs to use the appropriate convenience library. So:

[common sources] + [option set 1] = [convenience library 1]
[object set 1] + [convenience library 1] = [program set 1]

[common sources] + [option set 2] = [convenience library 2]
[object set 2] + [convenience library 2] = [program set 2]


Reply via email to