Makefiles (GNU make)
From Get docs
Make/docs/latest/Makefiles
Next: Rules, Previous: Introduction, Up: Top [Contents][Index]
3 Writing Makefiles
The information that tells make how to recompile a system comes from reading a data base called the makefile.
| • Makefile Contents | What makefiles contain. | |
| • Makefile Names | How to name your makefile. | |
| • Include | How one makefile can use another makefile. | |
| • MAKEFILES Variable | The environment can specify extra makefiles. | |
| • Remaking Makefiles | How makefiles get remade. | |
| • Overriding Makefiles | How to override part of one makefile with another makefile. | |
| • Reading Makefiles | How makefiles are read in. | |
| • Parsing Makefiles | How makefiles are parsed. | |
| • Secondary Expansion | How and when secondary expansion is performed. |