1 This is 2 /usr/local/google/digit/repo/opensource/ndk/sources/host-tools/make-3.81/doc/make.info, 3 produced by makeinfo version 4.13 from 4 /usr/local/google/digit/repo/opensource/ndk/sources/host-tools/make-3.81/doc/make.texi. 5 6 This file documents the GNU `make' utility, which determines 7 automatically which pieces of a large program need to be recompiled, 8 and issues the commands to recompile them. 9 10 This is Edition 0.70, last updated 13 October 2011, of `The GNU Make 11 Manual', for GNU `make' version 3.81. 12 13 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 14 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006 Free Software 15 Foundation, Inc. 16 17 Permission is granted to copy, distribute and/or modify this 18 document under the terms of the GNU Free Documentation License, 19 Version 1.2 or any later version published by the Free Software 20 Foundation; with no Invariant Sections, with the Front-Cover Texts 21 being "A GNU Manual," and with the Back-Cover Texts as in (a) 22 below. A copy of the license is included in the section entitled 23 "GNU Free Documentation License." 24 25 (a) The FSF's Back-Cover Text is: "You have freedom to copy and 26 modify this GNU Manual, like GNU software. Copies published by 27 the Free Software Foundation raise funds for GNU development." 28 29 INFO-DIR-SECTION GNU Packages 30 START-INFO-DIR-ENTRY 31 * Make: (make). Remake files automatically. 32 END-INFO-DIR-ENTRY 33 34 35 Indirect: 36 make.info-1: 1452 37 make.info-2: 301423 38 39 Tag Table: 40 (Indirect) 41 Node: Top1452 42 Node: Overview14860 43 Node: Preparing15870 44 Node: Reading16842 45 Node: Bugs17769 46 Node: Introduction19599 47 Node: Rule Introduction21191 48 Node: Simple Makefile22935 49 Node: How Make Works26564 50 Node: Variables Simplify29219 51 Node: make Deduces31425 52 Node: Combine By Prerequisite33165 53 Node: Cleanup34194 54 Node: Makefiles35613 55 Node: Makefile Contents36579 56 Node: Makefile Names39534 57 Node: Include41145 58 Ref: Include-Footnote-144777 59 Node: MAKEFILES Variable44911 60 Node: MAKEFILE_LIST Variable46421 61 Node: Special Variables47689 62 Node: Remaking Makefiles51196 63 Node: Overriding Makefiles55445 64 Node: Reading Makefiles57498 65 Node: Secondary Expansion60402 66 Node: Rules67836 67 Node: Rule Example70508 68 Node: Rule Syntax71365 69 Node: Prerequisite Types73868 70 Node: Wildcards75644 71 Node: Wildcard Examples77362 72 Node: Wildcard Pitfall78618 73 Node: Wildcard Function80407 74 Node: Directory Search82191 75 Node: General Search83333 76 Node: Selective Search85048 77 Node: Search Algorithm88036 78 Node: Commands/Search90555 79 Node: Implicit/Search91901 80 Node: Libraries/Search92845 81 Node: Phony Targets94937 82 Node: Force Targets100023 83 Node: Empty Targets101068 84 Node: Special Targets102366 85 Node: Multiple Targets109540 86 Node: Multiple Rules111415 87 Node: Static Pattern113651 88 Node: Static Usage114303 89 Node: Static versus Implicit118024 90 Node: Double-Colon119768 91 Node: Automatic Prerequisites121425 92 Node: Commands125703 93 Node: Command Syntax126911 94 Node: Splitting Lines128936 95 Node: Variables in Commands131917 96 Node: Echoing133244 97 Node: Execution134536 98 Ref: Execution-Footnote-1135787 99 Node: Choosing the Shell135933 100 Node: Parallel139902 101 Node: Errors143495 102 Node: Interrupts147141 103 Node: Recursion148728 104 Node: MAKE Variable150822 105 Node: Variables/Recursion153089 106 Node: Options/Recursion158530 107 Node: -w Option163695 108 Node: Sequences164690 109 Node: Empty Commands167702 110 Node: Using Variables168876 111 Node: Reference171989 112 Node: Flavors173548 113 Node: Advanced179286 114 Node: Substitution Refs179791 115 Node: Computed Names181344 116 Node: Values185888 117 Node: Setting186801 118 Node: Appending188837 119 Node: Override Directive192763 120 Node: Defining194147 121 Node: Environment196611 122 Node: Target-specific198860 123 Node: Pattern-specific201827 124 Node: Conditionals203229 125 Node: Conditional Example203939 126 Node: Conditional Syntax206516 127 Node: Testing Flags212241 128 Node: Functions213343 129 Node: Syntax of Functions214763 130 Node: Text Functions216962 131 Node: File Name Functions225533 132 Node: Conditional Functions230755 133 Node: Foreach Function233129 134 Node: Call Function236341 135 Node: Value Function239226 136 Node: Eval Function240663 137 Node: Origin Function242937 138 Node: Flavor Function246155 139 Node: Shell Function247221 140 Node: Make Control Functions248855 141 Node: Running250524 142 Node: Makefile Arguments252513 143 Node: Goals253229 144 Node: Instead of Execution257970 145 Node: Avoiding Compilation261256 146 Node: Overriding263231 147 Node: Testing265529 148 Node: Options Summary267414 149 Node: Implicit Rules277540 150 Node: Using Implicit279688 151 Node: Catalogue of Rules283227 152 Node: Implicit Variables292577 153 Node: Chained Rules297412 154 Node: Pattern Rules301423 155 Node: Pattern Intro302959 156 Node: Pattern Examples305856 157 Node: Automatic Variables307665 158 Node: Pattern Match315036 159 Node: Match-Anything Rules316672 160 Node: Canceling Rules320547 161 Node: Last Resort321263 162 Node: Suffix Rules323110 163 Node: Implicit Rule Search326839 164 Node: Archives330358 165 Node: Archive Members331056 166 Node: Archive Update332669 167 Node: Archive Symbols334583 168 Node: Archive Pitfalls335817 169 Node: Archive Suffix Rules336540 170 Node: Features338087 171 Node: Missing346642 172 Node: Makefile Conventions350380 173 Node: Makefile Basics351166 174 Node: Utilities in Makefiles354333 175 Node: Command Variables356471 176 Node: Directory Variables360041 177 Node: Standard Targets374181 178 Ref: Standard Targets-Footnote-1387300 179 Node: Install Command Categories387400 180 Node: Quick Reference391926 181 Node: Error Messages402622 182 Node: Complex Makefile410312 183 Node: GNU Free Documentation License419030 184 Node: Concept Index441479 185 Node: Name Index506668 186 187 End Tag Table 188