Managing Projects with GNU Make

The Power of GNU Make for Building Anything

by Robert Mecklenburg

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

The utility simply known as make is one of the most enduring features of both Unix and other operating systems. First invented in the 1970s, make still turns up to this day as the central engine in most programming projects; it even builds the Linux kernel. In the third edition of the classic Managing Projects with GNU make, readers will learn why this utility continues to hold its top position in project build software, despite many younger competitors.The premise behind make is simple: after you change source files and want to rebuild your program or other output files, make checks timestamps to see what has changed and rebuilds just what you need, without wasting time rebuilding other files. But on top of this simple principle, make layers a rich collection of options that lets you manipulate multiple directories, build different versions of programs for different platforms, and customize your builds in other ways.This edition focuses on the GNU version of make, which has deservedly become the industry standard. GNU make contains powerful extensions that are explored in this book. It is also popular because it is free software and provides a version for almost every platform, including a version for Microsoft Windows as part of the free Cygwin project. Managing Projects with GNU make, 3rd Edition provides guidelines on meeting the needs of large, modern projects. Also added are a number of interesting advanced topics such as portability, parallelism, and use with Java.Robert Mecklenburg, author of the third edition, has used make for decades with a variety of platforms and languages. In this book he zealously lays forth how to get your builds to be as efficient as possible, reduce maintenance, avoid errors, and thoroughly understand what make is doing. Chapters on C++ and Java provide makefile entries optimized for projects in those languages. The author even includes a discussion of the makefile used to build the book.

This open book is licensed under a GNU Free Documentation License (GNU FDL). You can download Managing Projects with GNU Make ebook for free in PDF format (4.9 MB).

Table of Contents

Chapter 1
How to Write a Simple Makefile
Chapter 2
Rules
Chapter 3
Variables and Macros
Chapter 4
Functions
Chapter 5
Commands
Chapter 6
Managing Large Projects
Chapter 7
Portable Makefiles
Chapter 8
C and C++
Chapter 9
Java
Chapter 10
Improving the Performance of make
Chapter 11
Example Makefiles
Chapter 12
Debugging Makefiles

Book Details

Subject
Computer Science
Publisher
O'Reilly Media
Published
2004
Pages
272
Edition
3
Language
English
ISBN13 Digital
9780596006105
ISBN10 Digital
0596006101
PDF Size
4.9 MB
License
GNU FDL

Book Hashtags

Related Books

Mercurial: The Definitive Guide
This instructive book takes you step by step through ways to track, merge, and manage both open source and commercial software projects with Mercurial, using Windows, Mac OS X, Linux, Solaris, and other systems. Mercurial is the easiest system to learn when it comes to distributed revision control. And it's a very flexible tool that's ideal whether...
The Art of Community
Online communities provide a wide range of opportunities for supporting a cause, marketing a product or service, or building open source software. The Art of Community helps you recruit members, motivate them, and manage them as active participants. Author Jono Bacon offers experiences and observations from his 14-year effort to build and manage co...
Guide to NoSQL with Azure Cosmos DB
Cosmos DB is a NoSQL database service included in Azure that is continuously adding new features and has quickly become one of the most innovative services found in Azure, targeting mission-critical applications at a global scale. This book starts off by showing you the main features of Cosmos DB, their supported NoSQL data models and the foundatio...
Policy-Oriented Technology Assessment Across Europe: Expanding Capacities
Policy-making to address grand challenges faces greater complexity than any previous project of modernization. Future scenarios are haunted by uncertainty and there is real ambivalence as to the values that policy should strive for. In this situation decision-makers look to research and innovation to provide answers and solutions. But neither can t...
Visual Studio 2019 Succinctly
Visual Studio 2019 is the new release of Microsoft's premiere development environment, which follows cross-platform paradigms and uses a plethora of programming languages and frameworks. Visual Studio 2019 Succinctly describes what's new in VS2019 from the point of view of the IDE. It covers the improved installation experience, new productivity fe...
Docker for Developers
This book introduces the use of Docker focusing on best usage practices, based on the 12factor methodology. This preliminary version of the book focuses on the basic knowledge of Docker. It starts by briefly explaining the infrastructure of the solution, through its architecture, installation, basic commands, understanding and construction of im...