Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

Managing Projects with GNU Make

The Power of GNU Make for Building Anything

by Robert Mecklenburg

Managing Projects with GNU Make

Subscribe to new books via dBooks.org telegram channel

Join
DescriptionTable of ContentsDetailsReport 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

Title
Managing Projects with GNU Make
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

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 ide...
Get Started with Arduino
Whether you want to build robots, smart devices, or any other electronically controlled projects, this is the book you need. We take you through how to program and connect an Arduino microcontroller board, then explore some great projects to make with it. - Build a four-legged walking robot; - Create a Tetris-inspired clock; - Grow your own ve...
HackSpace Magazine: Issue 56
From component choice, to packaging, to marketing, to the million other things that you need to do when you scale up production, we'll help you turn your project into a product - and along the way it'll help you be a better maker. - Build a rocket-powered wing-wing glider out of balsa wood and 3D printed parts (it's like the space...
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...
Retro Gaming with Raspberry Pi
Discover how to set up Raspberry Pi to play classic games in the brand new version of our retro gaming guide. In this 164-page book, you'll learn how to build a portable games machine, assemble a full-sized arcade cabinet, and emulate classic computers and consoles. Our step-by-step guides make each build easy! Plus you'll even learn to p...