Recently Written · git

tmpl

Insanely simple templates

git clone https://github.com/equwal/tmpl

Log | Files | Refs


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 <++> := $(<++>:<++>=<++>)