On Thu, 2018-06-21 at 23:12 +0200, Bruno Haible wrote: > Paul Smith wrote: > > However, for lib/getloadavg.c and ONLY for that lib/*.c file, I > > ALSO get duplicate rules in my root Makefile.in > > Does it cause an actual problem, or does it only "feel" wrong?
It causes an actual problem in that I have to force everyone to switch to automake 1.16.1, which is not packaged on any major GNU/Linux distributions currently so people have to build it by hand and start using that, which is not so trivial (you also have to remember to set ACLOCAL_PATH etc.) Other than that, it just feels wrong :) > Do you use Automake's subdir-object option? Yes (subdir-objects ITYM). FWIW, I've since pushed my work to GNU make's master branch on Savannah if you wanted to try it out and see it: git clone https://git.savannah.gnu.org/git/make.git