Changeset 503 for trunk/src/gmake/make.1
- Timestamp:
- Sep 15, 2006, 7:09:38 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/make.1
r53 r503 1 .TH MAKE 1 L"22 August 1989" "GNU" "LOCAL USER COMMANDS"1 .TH MAKE 1 "22 August 1989" "GNU" "LOCAL USER COMMANDS" 2 2 .SH NAME 3 3 make \- GNU make utility to maintain groups of programs … … 7 7 .B \-f 8 8 .I makefile 9 ] [ option ] ... 10 target ... 9 ] [ options ] ... [ targets ] ... 11 10 .SH WARNING 12 This man page is an extract of the documentation of 13 .I GNUmake .11 This man page is an extract of the documentation of GNU 12 .IR make . 14 13 It is updated only occasionally, because the GNU project does not use nroff. 15 14 For complete, current documentation, refer to the Info file 16 15 .B make.info 17 16 which is made from the Texinfo source file 18 .BR make.texi nfo.17 .BR make.texi . 19 18 .SH DESCRIPTION 20 19 .LP … … 26 25 The manual describes the GNU implementation of 27 26 .IR make , 28 which was written by Richard Stallman and Roland McGrath. 27 which was written by Richard Stallman and Roland McGrath, and is 28 currently maintained by Paul Smith. 29 29 Our examples show C programs, since they are most common, but you can use 30 30 .I make … … 107 107 .sp 1 108 108 .TP 0.5i 109 .B \-b 110 .TP 0.5i 111 .B \-m 109 .BR \-b , " \-m" 112 110 These options are ignored for compatibility with other versions of 113 111 .IR make . 114 112 .TP 0.5i 115 .BI "\-C " dir 113 .BR \-B , " \-\-always\-make" 114 Unconditionally make all targets. 115 .TP 0.5i 116 \fB\-C\fR \fIdir\fR, \fB\-\-directory\fR=\fIdir\fR 116 117 Change to directory 117 118 .I dir … … 137 138 decides what to do. 138 139 .TP 0.5i 139 .B \-e 140 .BI \-\-debug "[=FLAGS]" 141 Print debugging information in addition to normal processing. 142 If the 143 .I FLAGS 144 are omitted, then the behavior is the same as if 145 .B \-d 146 was specified. 147 .I FLAGS 148 may be 149 .I a 150 for all debugging output (same as using 151 .BR \-d ), 152 .I b 153 for basic debugging, 154 .I v 155 for more verbose basic debugging, 156 .I i 157 for showing implicit rules, 158 .I j 159 for details on invocation of commands, and 160 .I m 161 for debugging while remaking makefiles. 162 .TP 0.5i 163 .BR \-e , " \-\-environment\-overrides" 140 164 Give variables taken from the environment precedence 141 165 over variables from makefiles. 142 166 .TP 0.5i 143 .BI "\-f " file 167 +\fB\-f\fR \fIfile\fR, \fB\-\-file\fR=\fIfile\fR, \fB\-\-makefile\fR=\fIFILE\fR 144 168 Use 145 169 .I file 146 170 as a makefile. 147 171 .TP 0.5i 148 .B \-i172 .BR \-i , " \-\-ignore\-errors" 149 173 Ignore all errors in commands executed to remake files. 150 174 .TP 0.5i 151 .BI "\-I " dir 175 \fB\-I\fR \fIdir\fR, \fB\-\-include\-dir\fR=\fIdir\fR 152 176 Specifies a directory 153 177 .I dir … … 170 194 flag. 171 195 .TP 0.5i 172 .BI "\-j " jobs 173 Specifies the number of jobs (commands) to run simultaneously. 196 \fB\-j\fR [\fIjobs\fR], \fB\-\-jobs\fR[=\fIjobs\fR] 197 Specifies the number of 198 .I jobs 199 (commands) to run simultaneously. 174 200 If there is more than one 175 201 .B \-j … … 181 207 will not limit the number of jobs that can run simultaneously. 182 208 .TP 0.5i 183 .B \-k209 .BR \-k , " \-\-keep\-going" 184 210 Continue as much as possible after an error. 185 211 While the target that failed, and those that depend on it, cannot … … 187 213 all the same. 188 214 .TP 0.5i 189 .B \-l 190 .TP 0.5i 191 .BI "\-l " load 215 \fB\-l\fR [\fIload\fR], \fB\-\-load\-average\fR[=\fIload\fR] 192 216 Specifies that no new jobs (commands) should be started if there are 193 217 others jobs running and the load average is at least … … 196 220 With no argument, removes a previous load limit. 197 221 .TP 0.5i 198 .B \-n 222 .BR \-L , " \-\-check\-symlink\-times" 223 Use the latest mtime between symlinks and target. 224 .TP 0.5i 225 .BR \-n , " \-\-just\-print" , " \-\-dry\-run" , " \-\-recon" 199 226 Print the commands that would be executed, but do not execute them. 200 227 .TP 0.5i 201 .BI "\-o " file 228 \fB\-o\fR \fIfile\fR, \fB\-\-old\-file\fR=\fIfile\fR, \fB\-\-assume\-old\fR=\fIfile\fR 202 229 Do not remake the file 203 230 .I file … … 207 234 Essentially the file is treated as very old and its rules are ignored. 208 235 .TP 0.5i 209 .B \-p236 .BR \-p , " \-\-print\-data\-base" 210 237 Print the data base (rules and variable values) that results from 211 238 reading the makefiles; then execute as usual or as otherwise … … 219 246 .BI \-f /dev/null. 220 247 .TP 0.5i 221 .B \-q248 .BR \-q , " \-\-question" 222 249 ``Question mode''. 223 250 Do not run any commands, or print anything; just return an exit status … … 225 252 otherwise. 226 253 .TP 0.5i 227 .B \-r228 Eliminate use of the built -in implicit rules.254 .BR \-r , " \-\-no\-builtin\-rules" 255 Eliminate use of the built\-in implicit rules. 229 256 Also clear out the default list of suffixes for suffix rules. 230 257 .TP 0.5i 231 .B \-s 258 .BR \-R , " \-\-no\-builtin\-variables" 259 Don't define any built\-in variables. 260 .TP 0.5i 261 .BR \-s , " \-\-silent" , " \-\-quiet" 232 262 Silent operation; do not print the commands as they are executed. 233 263 .TP 0.5i 234 .B \-S264 .BR \-S , " \-\-no\-keep\-going" , " \-\-stop" 235 265 Cancel the effect of the 236 266 .B \-k … … 246 276 in MAKEFLAGS in your environment. 247 277 .TP 0.5i 248 .B \-t278 .BR \-t , " \-\-touch" 249 279 Touch files (mark them up to date without really changing them) 250 280 instead of running their commands. … … 253 283 .IR make . 254 284 .TP 0.5i 255 .B \-v285 .BR \-v , " \-\-version" 256 286 Print the version of the 257 287 .I make … … 259 289 is no warranty. 260 290 .TP 0.5i 261 .B \-w291 .BR \-w , " \-\-print\-directory" 262 292 Print a message containing the working directory 263 293 before and after other processing. … … 267 297 commands. 268 298 .TP 0.5i 269 .BI "\-W " file 299 .B \-\-no\-print\-directory 300 Turn off 301 .BR \-w , 302 even if it was turned on implicitly. 303 .TP 0.5i 304 \fB\-W\fR \fIfile\fR, \fB\-\-what\-if\fR=\fIfile\fR, \fB\-\-new\-file\fR=\fIfile\fR, \fB\-\-assume\-new\fR=\fIfile\fR 270 305 Pretend that the target 271 306 .I file … … 282 317 except that the modification time is changed only in the imagination of 283 318 .IR make . 319 .TP 0.5i 320 .B \-\-warn\-undefined\-variables 321 Warn when an undefined variable is referenced. 322 .SH "EXIT STATUS" 323 GNU 324 .I make 325 exits with a status of zero if all makefiles were successfully parsed 326 and no targets that were built failed. A status of one will be returned 327 if the 328 .B \-q 329 flag was used and 330 .I make 331 determines that a target needs to be rebuilt. A status of two will be 332 returned if any errors were encountered. 284 333 .SH "SEE ALSO" 285 334 .I "The GNU Make Manual" 286 335 .SH BUGS 287 336 See the chapter `Problems and Bugs' in 288 .I "The GNU Make Manual" .337 .IR "The GNU Make Manual" . 289 338 .SH AUTHOR 290 339 This manual page contributed by Dennis Morse of Stanford University. 291 It has been reworked by Roland McGrath. 340 It has been reworked by Roland McGrath. Further updates contributed by 341 Mike Frysinger. 342 .SH "COPYRIGHT" 343 Copyright (C) 1992, 1993, 1996, 1999 Free Software Foundation, Inc. 344 This file is part of GNU 345 .IR make . 346 .LP 347 GNU 348 .I make 349 is free software; you can redistribute it and/or modify it under the 350 terms of the GNU General Public License as published by the Free 351 Software Foundation; either version 2, or (at your option) any later 352 version. 353 .LP 354 GNU 355 .I make 356 is distributed in the hope that it will be useful, but WITHOUT ANY 357 WARRANTY; without even the implied warranty of MERCHANTABILITY or 358 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 359 for more details. 360 .LP 361 You should have received a copy of the GNU General Public License 362 along with GNU 363 .IR make ; 364 see the file COPYING. If not, write to the Free Software Foundation, 365 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
Note:
See TracChangeset
for help on using the changeset viewer.