On Wed, 2020-02-19 at 17:56 +0100, Jerome Reybert wrote: > I am facing what to seem to be a bug in Gnu make, since at least make > 3.82, and still present in 4.2.1.
I'm not sure why your subject mentions SCCS suffix rules, but there is a built-in rule that knows how to convert from a foo.sh to foo, like this (from "make -p -f/dev/null"): %: %.sh # recipe to execute (built-in): cat $< >$@ chmod a+x $@ that's what you're seeing. As far as I remember this has nothing to do with SCCS though. If you don't want this rule, you can delete it via: %: %.sh (no recipe). See https://www.gnu.org/software/make/manual/html_node/Canceling-Rules.html Or of course you can use "-r" to remove ALL implicit rules, if you prefer.