Managing Projects with GNU Make: The Power of GNU Make for Building Anything"O'Reilly Media, Inc.", 2004. gada 19. nov. - 302 lappuses 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. |
No grāmatas satura
1.–5. rezultāts no 34.
... specify the relationships between the elements of your program to make, and it knows through these relationships and timestamps exactly what steps need to be redone to produce the desired program each time. Using this information, make ...
... specified first in the makefile and the details are left for later. The make program supports this style in many ways. Chief among these is make's twophase execution model and recursive variables. We will discuss these in great detail ...
... specify is already up to date, make will say so and immediately exit, doing nothing else: $ make lexer.c make: `lexer.c' is up to date. If you specify a target that is not in the makefile and for which there is no implicit rule ...
... specify particular files as targets and prerequisites. A rule can have more than one target. This means that each target has This is the Title of the Book, eMatter Edition 10 the same set of prerequisites as the others. If the Copyright ...
... specifying that a target is phony tells make that this file does not follow the normal rules for making a target file from a source file. Therefore, make can optimize its normal rule search to improve performance. It rarely makes sense ...
Citi izdevumi - Skatīt visu
Managing Projects with GNU Make: The Power of GNU Make for Building Anything Robert Mecklenburg Ierobežota priekšskatīšana - 2004 |
Managing Projects with GNU Make Robert Mecklenburg,Robert William Mecklenburg Ierobežota priekšskatīšana - 2004 |
Bieži izmantoti vārdi un frāzes
Atsauces uz šo grāmatu
Writing Scientific Software: A Guide to Good Style Suely Oliveira,David E. Stewart Ierobežota priekšskatīšana - 2006 |