5
The “Make” Build System
In this chapter, we will learn how to automate our entire build process using build systems, specifically focusing on the make build system – an indispensable tool for automating the compilation and linking processes in software development. We start by defining what a build system is and then exploring its fundamental purpose, which primarily involves automatically transforming source code into deployable software, such as executables or libraries.
Throughout the chapter, we will systematically uncover the components of the make build system, starting with the essential elements of a Makefile, including targets, prerequisites, and recipes. In the latter part of the chapter, I will provide a step-by-step guide on writing ...
Get Bare-Metal Embedded C Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.