Linux makefile tutorial is very detailed and easy to understand
https://blog.csdn.net/liang13664759/article/details/1771246
Teach you to write Makefile (very complete, with work experience)
https://blog.csdn.net/alpha_love/article/details/62953847