--The difficulty of things is far less than the fear of things!
I believe that every engineer who has done Linux and embedded development has more or less knowledge of Makefile. As for what a makefile is, I will not be verbose in this dish. If the expression is not good, you can ask Du Niang, here is a direct record of personal learning The bit-by-bit process of makefile, I hope it can help you a little. The old rules, there is something wrong, welcome to criticize and correct from all walks of life, make progress together, more precipitation, less impetuous! Stop gossip and roll up your sleeves!
Cultivation Note 1: make and makefile
Cultivation note 2: First understanding of the structure of the makefile
Cultivation Note 3: Introduction of Pseudo-targets
Cultivation Note 4: Variables and Different Assignment Methods
Cultivation Note 5: Use of Predefined Variables
Form 6: Advanced Topics of Variables (Part 1)
Form 7: Advanced Topics of Variables (Part 2)
Form 8: Conditional Judgment Statement
Cultivation Note 9: Function Definition and Calling
Form 10: Comprehensive Examples of Variables and Functions
Cultivation Note 11: Automatically Generate Dependencies (Part 1)
Cultivation Note 12: Automatically generate dependencies (middle)
Cultivation Note 13: Automatically Generate Dependencies (Part 2)
Cultivation Note 14: Automatically Generate Dependencies (Continued)
Cultivation Note 15: Implicit Rules of Make (Part 1)
Cultivation Note 16: Implicit Rules of Make (Part 2)
Cultivation Note 17: Path Search in Make (Part 1)
Cultivation Note 18: Path Search in Make (Part 2)
Form 19: Comprehensive Example of Path Search
Cultivation 20: Create a Professional Compilation Environment (Part 1)
Cultivation Note 21: Create a professional compilation environment (middle)
Cultivation Note 22: Create a Professional Compilation Environment (Part 2)
Cultivation Note 23: Support for Module Independent Compilation
Development Note 24: Support for the use of third-party libraries
Development Note 25: Design of Program Exception Handling (Part 1)
Development Note 26: Design of Program Exception Handling (middle)
Development Note 27: Design of Program Exception Handling (Part 2)
Cultivation Note 28: Preliminary Design of Project Development