Makefile
GNU make's web-manual:
https://www.gnu.org/software/make/manual/make.html
Contents: how to read the manual
Chap 2: An Introduction to Makefiles
Chap 8: Functions for Transforming Text
You can check usage make's functions: "subst", "patsubst", "filter", etc.