f78
Index
Contents
Index
A B C
D E F
G H I
J K L
M N O
P Q R
S T U
V W Y
- #
$ %
. :
@ _
= +
-
-
as prefix character
#
#,
for comments
$
$%
variables
$%,
variables, automatic
$(%D)
variables
$(%D)
variants
$(%F)
variables
$(%F)
variants
$(*D)
variables
$(*D)
variants
$(*F)
variables
$(*F)
variants
$(?D)
variables
$(?D)
variants
$(?F)
variables
$(?F)
variants
$(@D)
variables
$(@D)
variants
$(@F)
variables
$(@F)
variants
$(ˆD)
variables
$(ˆD)
variants
$(ˆF)
variables
$(ˆF)
variants
$(+D)
variables
$(+F)
variables
$(<D)
variables
$(<D)
variants
$(<F)
variables
$(<F)
variants
$(addprefix
prefix, names...)
$(addsuffix
suffix, names...)
$(basename
names...)
$(dir
names...)
$(filter
pattern ...,text)
$(filter-out
pattern ...,text)
$(findstring
find,in)
$(firstword
names...)
$(join
list1, list2)
$(notdir
names ...)
$(patsubst
pattern, replacement, text)
$(sort
list)
$(strip
string)
$(subst
from, to, text)
$(suffix
names ...)
$(wildcard
pattern)
$(word
n, text)
$(words
text)
$*
variables
$*,
automatic variable
$?
variables
$?,
automatic variable
$@
variables
$@,
automatic variable
$@,
for varying commands
$ˆ
variables
$ˆ,
automatic variable
$+
variables
$+,
automatic variable
$<
variables
$<,
automatic variable
%
%
character
%
character
%
in pattern rules
.
.c file
.DEFAULT
(See also Defining
Last-Resort Default Rules, Implicit
Rule Search Algorithm.)
.EXPORT_ALL_VARIABLES
(See also Communicating
Variables to a Sub-make.)
.IGNORE
.PHONY
(See also Phony
Targets, Arguments
to Specify the Goals.)
.POSIX
(See also Communicating
Options to a Sub-make .)
.PRECIOUS
(See also Interrupting
or Killing make.)
.SILENT
.SUFFIXES
(See also Catalogue
of Implicit Rules, Summary of
Options, Old-Fashioned
Suffix Rules.)
:
:=, for simply
expanded variables
@
@ as
prefix character
_
__.SYMDEF
+
+ as
prefix character
+ with $
+=, appending
values to variables
=
=, for setting variable
values
A
-
A Simple Makefile
-
aborting
execution of make
(See also Errors
in Commands.)
-
addprefix
-
addsuffix
-
Advanced
Features for Reference to Variables
-
advanced
features of variables
-
all
-
all
target
-
An Introduction
to Makefiles
-
Another Style
of Makefile
-
Appending
More Text to Variables
-
ar
program
(See also ar
in The GNU Binary Utilities
and Archive Members as Targets.)
-
AR
variable
-
architecture-independent
files
-
archive
file symbol tables
-
archive
files
-
archive-maintaining
program
-
archive
member
-
archive
member target
-
archive
suffix rules
-
Archive Members
as Targets
-
ARFLAGS
variable
-
Arguments
to Specify the Goals
-
Arguments
to Specify the Makefile
-
AS
variable
-
ASFLAGS
variable
-
assembler
-
assembler
programs
-
--assume-new=
option
-
--assume-new=file
option
-
--assume-old=file
option
-
automatic
-
Automatic Variables
-
(See also Quick
Reference, Features of GNU
make,
Writing
Shell Commands with Directory
ffb
Search,
Communicating
Variables to a Sub-make,
Communicating
Options to a Sub-make,
How
to Use Variables.)
-
Avoiding
Recompilation of Some Files
B
-
-b
option
-
backslashes
(See also Command
Execution, Using
Wildcard Characters in File Names,
Writing
Rules, The vpath Directive,
Setting Variables.)
-
basename
-
bash
script
-
Basics of
Variable References
-
bindir
-
Bison
(See also Standard
Targets for Users, Variables
for Specifying Commands.)
-
BISONFLAGS
-
braces,
unmatched
-
Broken
pipe signal
-
BSD
(See also Features
of GNU make.)
-
buffer.h
-
bugs,
reporting
-
built-in
expansion functions
-
built-in
implicit rules
(See also Catalogue
of Implicit Rules, Using Implicit
Rules,
Variables
Used by Implicit Rules.)
C
-
C
compilation
-
-C
option
-
C
preprocessor
(See also Features
of GNU make.)
-
C
programs
-
C++
programs
-
Canceling Implicit
Rules
-
canned
sequence
-
Catalogue
of Implicit Rules
-
CC
variable
-
CFLAGS
-
Chains of Implicit
Rules
-
check
-
check
target
-
child
processes
-
clean
(See also Arguments
to Specify the Goals.)
-
clean
target
-
clobber
-
CO
variable
-
COFLAGS
variable
-
command
-
Command Echoing
-
Command Execution
-
command
line
(See also Writing
the Commands in Rules.)
-
command
sequence, defining
-
command.h
-
command.o
-
command-line
options
-
commands,
echoing
-
commands,
empty
-
commands,
errors
-
comments
-
Communicating
Options to a Sub-make
-
Communicating
Variables to a Sub-make
-
compilation
errors
-
compilation-and-linking
-
COMPILE.c
-
COMPILE.x
-
compiler
switches
-
compiling
-
compiling
a program, testing
-
Complex Makefile
Example
-
Computed Variable
Names
-
conditional
-
conditional
example
-
conditional
execution
-
Conditional
Parts of Makefiles
-
conditional
syntax
-
Conditionals
that Test Flags
-
configure
-
conventions
for writing the Makefiles
-
CPP
variable
-
CPPFLAGS
-
CPPFLAGS
variable
-
csh
script
-
CTANGLE
variable
-
CWEAVE
variable
-
CXX
variable
-
CXXFLAGS
variable
D
-d
option
Dangers When
Using Archives
datadir
--debug
option
default
define
(See also Appending
More Text to Variables, Defining
Variables Verbatim.)
Defining
and Redefining Pattern Rules
Defining
Canned Command Sequences
Defining
Last-Resort Default Rules
Defining Variables
Verbatim
defs.h
dependencies
(See also Another
Style of Makefile, Searching
Directories for Dependencies,
VPATH:
Search Path for All Dependencies, Rule
Syntax, Automatic Variables,
Multiple
Rules for One Target.)
dep-patterns
dir
(See also Functions
for File Names, Quick Reference.)
--directory
option
(See also Features
of GNU make.)
Directory
Search and Implicit Rules
Directory
Search for Link Libraries
directory,
rules for cleaning
directory,
specifying
dist
(See also Standard
Targets for Users, Complex
Makefile Example.)
<
ffb
A HREF="makeStandard_Targets_for_Users.html">dist
target
distclean
distclean
target
documentation
dollar
signs
(See also Automatic
Variables.)
Double-Colon Rules
(See also How
Makefiles Are Remade.)
double-suffix
--dry-run
option
(See also Summary
of Options.)
dvi
target
E
-e
flag
-e
option
echo
command
echoing
edit
(See also Variables
Make Makefiles Simpler.)
editor
EFL
programs
else
(See also Quick
Reference.)
Emacs’
compile command
Emacs’
M-x compile command
empty
command
(See also empty
commands.)
empty
strings
Empty
Target Files to Record Events
endef
(See also The
overri
ffb
de Directive, Quick Reference.)
endif
(See also Syntax
of Conditionals, Quick Reference.)
environment
environment
variable
environment
variables
--environment-overrides
option
Errors in Commands
Example of a
Conditional
exec_prefix
variable
executable
executables
exit
status
exit
status of make
explicit
dependencies
explicit
rules
export
export
directive (See also Variables
from the Environment.)
F
-f
option
F
variants
-f,
or --file for naming makefile
fatal
error
FC
variable
Features of GNU make
FFLAGS
variable
file
file
name endings
file
names
file,
reading
filter
ffb
findstring
firstword
FLAGS
FORCE
foreach
foreach
function
Fortran
programs
function
references
Function Call Syntax
Functions for
File Names
Functions
for String Substitution and Analysis
Functions
for Transforming Text
G
General
Conventions for Makefiles
Generating
Dependencies Automatically
GET
variable
GFLAGS
variable
goals
H
-h
option
--help
option
How make
Processes a Makefile
How Makefiles
Are Remade
How Patterns Match
How the MAKE
Variable Works
How to
Read This Documentation
How to Run make
How to Use Variables
How Variables
Get Their Values
I
-I
dir option
-i
option
IEEE
Standard 1003.2-1992
(See also Features
of GNU make and Overview of make.)
ifdef
(See also Quick
Reference.)
ifeq
(See also Quick
Reference.)
ifndef
(See also Quick
Reference.)
ifneq
(See also Quick
Reference.)
--ignore-errors
(See also Summary
of Options.)
implicit
intermediate files
Implicit
Rule for Archive Member Targets
Implicit
Rule Search Algorithm
Implicit Rules
include
-include
directive
include
directive
includedir
--include-dir
--include-dir=dir
option
includes
Including Other
Makefiles
Incompatibilities
and Missing Features
info
target
infodir
(See also Variables
for Installation Directories.)
initial
values of variables
insert.c
insert.o
install
(See also Variables
for Specifying Commands, Variables
for Installation Directories.)
install
target
INSTALL_DATA
INSTALL_PROGRAM
installcheck
target
installdirs
target
Instead
of Executing the Commands
intermediate
file
Interrupting
or Killing make
Introduction
to Pattern Rules
invariant
text
J
--jobs,
for simultaneous commands
jobs,
running
join
--just-print
option
--just-print,
or -n
K
-k
option
kbd.o
--keep-going
(See also Summary
of Options, Testing
the Compilation of a Program.)
killing
the compiler
ksh
script
L
-l
[load] option
last-resort
implicit rule
LDFLAGS
LDFLAGS
variable
Letting
make Deduce the Commands
Lex
for C programs
Lex
for Ratfor programs
LEX
variable
LFLAGS
variable
libdir
libexecdir
libraries
library
archive, updating
library
dependencies
linker
(See also Catalogue
of Implicit Rules, Variables
for Specifying Commands.)
Lint
Libraries from C, Yacc, or Lex programs
Linux
ln
utilities
--load-average[=load]
option
localstatedir
M
-m
option
main.c
main.o
(See also Generating
Dependencies Automatically.)
maintainer-clean
target
MAKE
make
commands, recursive
make
options
MAKE
variable
MAKE
variables
make
with no arguments
make,
invoking recursively
make,
modifying
<
ffb
DT>
make,
recursive invocations
make,
running
make,
version number
MAKE_VERSION
makefile
Makefile
commands
Makefile Conventions
makefile,
example
makefile,
naming
(See also What
Name to Give Your Makefile.)
makefile,
overriding another makefile
makefile,
using variables for object files
--makefile=file
option
MAKEFILES
(See also Features
of GNU make.)
MAKEFILES
variables
makefiles,
debugging
makefiles,
what they contain
MAKEFLAGS
MAKEFLAGS
variables
MAKEINFO
variable
MAKELEVEL
MAKELEVEL
variables
MAKEOVERRIDES
man1dir
man1ext
man2dir
man2ext
mandir
manext
Match-Anything
Pattern Rules
match-anything
rules
matching
--max-load
option
--max-load[=load]
option
member
name
mk
program
modified
references
Modula-2
programs
mostlyclean
mostlyclean
target
multiple
-C options
multiple
members in a archive file
Multiple
Rules for One Target
Multiple Targets
in a Rule
mv
utilities
N
-n
flag
-n
option
(See also Summary
of Options.)
name
patterns
nested
references
nested
variable reference
nests
of recursive make commands
new
jobs commands
--new-file=
option
--new-file=file
option
--no-builtin-rules
option
--no-keep-going
option
--no-print-directory
option
ffb
--no-print-directory,
disabling
notdir
O
-o
file option
object
file
(See also Summary
of Options.)
object
file names
objects
old
files
Old-Fashioned
Suffix Rules
--old-file
option
--old-file=file
option
oldincludedir
options
variable
origin
(See also Quick
Reference.)
origin
function
output,
understanding easier
OUTPUT_OPTION
Overriding
Part of Another Makefile
override
(See also Quick
Reference.)
override
directive
Overriding Variables
Overview of make
P
-p
option
Parallel Execution
parallelism
parentheses
(See also Basics
of Variable References.)
parentheses,
unmatched
Pascal
compilation
Pascal
programs
passing
down variables
patsubst
(See also Features
of GNU make, Quick Reference.)
pattern
matches
Pattern Rule Examples
PC
variable
PFLAGS
variable
Phony Targets
(See also Features
of GNU make.)
Pitfalls of
Using Wildcards
POSIX.2
standard
predefined
implicit rules
predefined
rules
prefix
variable
PREPROCESS.S
PREPROCESS.x
preprocessor
print
commands
Problems and Bugs
punctuation
Q
-q
option
(See also Summary
of Options.)
question
mode
Quick Reference
--question
option
(See also Summary
of Options.)
--quiet
option
R
-r
option
ranlib
Ratfor
programs
RCS
RCS
or SCCS files
RCS
rules, terminal
realclean
recompilation
(See also How
make Process a Makefile.)
recompiling
--recon
option
recursion
(See also Features
of GNU make, Recursive
Use of make,
The
Two Flavors of Variables.)
Recursive Use of
make
redefinition
relinking
remaking
target files
RFLAGS
variable
rm
utilities
RM
variable
rm,
errors
rule
rule
chaining
Rule Syntax
Rules
for Cleaning the Directory
Rules
without Commands or Dependencies
rules
rules
for make
run-yacc
S
-s
option
sbindir
SCCS
files
SCCS
or RCS files
search
paths
Searching
Directories for Dependencies
Setting Variables
sh
script
shar
(See also Quick
Reference.)
sharedstatedir
SHELL
(See also Quick
Reference, Summary of Options.)
shell
file
shell
function
SHELL
variable
SHELL
variables
--silent
--silent
option
simply
expanded variables
single-suffix
rule
sort
source
files
spaces
(See also Functions
for String Substitution and Analysis.)
Special Built-in
Target Names
srcdir
Standard Targets
for Users
Static Pattern Rules
Static
Pattern Rules versus Implicit Rules
stem
(See also How
Patterns Match, Syntax
of Static Pattern Rules.)
--stop
option
strip
sub-make
subst
function
Substitution References
substitution
variable reference
suffix
suffix
list
Suffix
Rules for Archive Files
suffix
rules
(See also Variables
Used by Implicit Rules, Chains
of Implicit Rules.)
suffix
rules, old-fashioned
SUFFIXES
variables
Summary of Options
SVR4
symbol
names
syntax
error
Syntax of Conditionals
Syntax
of Static Pattern Rules
sysconfdir
System
V
T
-t
option
(See also Summary
of Options.)
tab
character
tabs,
unallowed
TAGS
(See also Standard
Targets for Users.)
TANGLE
variable
tar
target
empty commands
target
file, modified
target
pattern
(See also Summary
of Options, Syntax
of Static Pattern Rules, Automatic
Variables.)
targets,
required
temp
terminal
rules
test
Testing
the Compilation of a Program
TEX
TEX
and Web
TEX
variable
TEXI2DVI
TEXI2DVI
variable
Texinfo
text
manipulation functions
The foreach Function
The Function, wildcard
The origin Function
The override Directive
The '--print-directory'
Option
The shell Function
The Two Flavors
of Variables
The Variable, MAKEFILES
The vpath Directive
touch
command
(See also Empty
Target Files to Record Events.)
--touch
option
(See also Summary
of Options.)
transitive
closure
U
Ultrix
Updating
Archive Symbol Directories
Using Empty Commands
Using Implicit Rules
Using
make to Update Archive Files
Using
Wildcard Characters in File Names
Utilities in Makefiles
V
-v
option
Variables
for Installation Directories
Variables
for Specifying Commands
Variables
from the Environment
Variables
Make Makefiles Simpler
Variables
Used by Implicit Rules
--version
option
VPATH:
Search Path for All Dependencies
W
-W
file option
-W
option
(See also Summary
of Options.)
warning
messages
--warn-undefined-variables
option
WEAVE
variable
--what-if=
option
--what-if=file
option
What a Rule Looks
Like
What Makefiles
Contain
What Name
to Give Your Makefile
whitespace
Wildcard Examples
wildcards
word
Writing Makefiles
Writing Rules
Writing
Shell Commands with Directory Search
Writing
the Commands in Rules
Y
-
YACC
variable
-
YACCR
variable
-
YFLAGS
variable
0