r/gnu • u/clem9nt • Oct 07 '22
Makefile Tutorial (without headache) 🍃
I wrote this tutorial because the others that I found were overloaded or contradicting each other, so I went in search for the best practices to gather them in practical examples and I reduced the scope of the tutorial on the most general applications. I hope you will finally enjoy Makefiles
➡️ https://github.com/clemedon/Makefile_tutor
For the moment 5 Makefiles are studied:
v1-3 Build a C project
v4 Build a C static library
v5 Build a C project that uses libraries
27
Upvotes
View all comments
Show parent comment
1
u/clem9nt Oct 08 '22
Thank you! Yes, but I was more thinking about VARIABLES / TOOLS / RULES anyway, I choose the kitchen vocabulary to image the role of each part, so the consistency of their order is quickly understandable.