On 20 Mar 2019 15:21, Дилян Палаузов wrote: > I expect that the line > > a_b_d_e_f_g_SOURCES = a/b/d-e-f.g.c > > to be superflous, as this is a “Default _SOURCE”, but `make` fails with > > make[1]: *** No rule to make target 'a/b/d-e-f.c', needed by > 'a/b/d_e_f_g-d-e-f.o'. Stop > > g is lost from the tagret. > > …_PROGRAMS = a/b/c-e-f.g > > Note, that there is a dot before g in both _SOURCES ad _PROGRAMS, but the > default extension was not changed from .c . > > I use Automake 1.16.1.
i can't reproduce this. your snippet seems to have a typo: …_PROGRAMS = a/b/c-e-f.g a_b_d_e_f_g_SOURCES = ... your PROGRAMS is set to .../c-... but your SOURCES variable is ..._d_... can you please attach full configure.ac & Makefile.am that reproduces ? -mike
signature.asc
Description: PGP signature