of @cite{The GNU Make Manual}, for @code{make}, Version @value{VERSION}.
Copyright (C) 1988, '89, '90, '91, '92, '93, '94, '95, '96, '97, '98, '99
- Free Software Foundation, Inc.
+ Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@example
frob.out: frob.in
- @@$(frobnicate)
+ @@$(frobnicate)
@end example
@noindent
@ignore
foo: stamp-foo ;
stamp-foo: foo.in
- create foo frm foo.in
- touch $@
+ create foo frm foo.in
+ touch $@
@end ignore
You may be inclined to define empty command strings for targets that are
@xref{Conditionals}.
@item include @var{file}
+@itemx -include @var{file}
+@itemx sinclude @var{file}
Include another makefile.@*
@xref{Include, ,Including Other Makefiles}.
@item override @var{variable} = @var{value}
@itemx override @var{variable} := @var{value}
@itemx override @var{variable} += @var{value}
+@itemx override @var{variable} ?= @var{value}
@itemx override define @var{variable}
@itemx endef
@itemx export @var{variable} = @var{value}
@itemx export @var{variable} := @var{value}
@itemx export @var{variable} += @var{value}
+@itemx export @var{variable} ?= @var{value}
@itemx unexport @var{variable}
Tell @code{make} whether or not to export a particular variable to child
processes.@*
Count the number of words in @var{text}.@*
@xref{File Name Functions, ,Functions for File Names}.
+@item $(wordlist @var{s},@var{e},@var{text})
+Returns the list of words in @var{text} from @var{s} to @var{e}.@*
+@xref{File Name Functions, ,Functions for File Names}.
+
@item $(firstword @var{names}@dots{})
Extract the first word of @var{names}.@*
@xref{File Name Functions, ,Functions for File Names}.
@samp{%} pattern).@*
@xref{Wildcard Function, ,The Function @code{wildcard}}.
+@item $(error @var{text}@dots{})
+
+When this function is evaluated, @code{make} generates a fatal error
+with the message @var{text}.@*
+@xref{Make Control Functions, ,Functions That Control Make}.
+
+@item $(warning @var{text}@dots{})
+
+When this function is evaluated, @code{make} generates a warning with
+the message @var{text}.@*
+@xref{Make Control Functions, ,Functions That Control Make}.
+
@item $(shell @var{command})
Execute a shell command and return its output.@*
@xref{Foreach Function, ,The @code{foreach} Function}.
@end table
+@item $(call @var{var},@var{param},@dots{})
+
+Evaluate the variable @var{var} replacing any references to @var{$(1)},
+@var{$(2)} with the first, second, etc. @var{param} values.@*
+@xref{Call Function, ,The @code{call} Function}.
+@end table
+
Here is a summary of the automatic variables.
@xref{Automatic, ,Automatic Variables},
for full information.
@item SUFFIXES
The default list of suffixes before @code{make} reads any makefiles.
+
+@item .LIBPATTERNS
+Defines the naming of the libraries @code{make} searches for, and their
+order.@*
+@xref{Libraries/Search, ,Directory Search for Link Libraries}.
@end table
@node Make Errors, Complex Makefile, Quick Reference, Top