Chapter 3. Introducing 'Makefile's

A 'Makefile' is a specification of dependencies between files and how to resolve those dependencies such that an overall goal, known as a target, can be reached. 'Makefile's are processed by the make utility. Other references describe the syntax of 'Makefile's and the various implementations of make in detail. This chapter provides an overview into 'Makefile's and gives just enough information to write custom rules in a 'Makefile.am' (see Chapter 6, "Introducing GNU Automake" ) or 'Makefile.in'.

Get GNU Autoconf, Automake, and Libtool 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.