Hi Christian,

Antonio Diaz Diaz wrote:
Christian Franke wrote:
The root of the problem is this new rule in Makefile.in:

# prevent 'make' from trying to remake source files
...
%.h %.cc : ;

It looks like an interference between the above empty rule and the
default rules of GNU make.

After seeking advice at help-make[1], I have replaced the '%.h %.cc : ;' rule above with these two lines in the Makefile:

MAKEFLAGS += -r
.SUFFIXES :

They should work with any version of GNU make, and I hope they will not cause harm with other makes.

[1] https://lists.gnu.org/archive/html/help-make/2024-01/msg00007.html

Best regards,
Antonio.

Reply via email to