Writing Makefiles

Contents | Up | Prev | Next

# 4. Writing Makefiles

- Makefiles are a way to define how your project is to be built.
- The make tool reads this file and compiles your project properly and efficiently, recompiling files that were changed and files which depend on them using the correct compile command at each stage.
- For large projects this is a must, and in many cases it is convenient also for small projects with only half a dozen source files.

Contents | Up | Prev | Next