make/expansions/substitute-wordending (155 bytes)
1 # newvar := $(oldvar:old-end-of-word=new-end-of-word) 2 # changes all the word endings 3 # most common use is: 4 # new := $(old:.o=.c) 5 <++> := $(<++>:<++>=<++>)
git clone https://github.com/equwal/tmpl