Main predefined variables of GNU make
Predefined Variables
Description
$ *
The name of the target file that does not contain the extension.
$ +
All dependent files are separated by spaces and appear sequentially. They may contain duplicate dependent files.
$ <
The name of the first dependent file.
$?
All dependent files are separated by spaces. The modified date of these dependent files is later than the object creation date.
$ @
The complete name of the target.
$ ^
All dependent files are separated by spaces and do not contain duplicate dependent files.
$ %
If the target is an archive member, this variable indicates the name of the archive member of the target. For example, if the target name is
Mytarget. So (image. O), then $ @ is mytarget. So, and $ % is image. O.
Ar
Archive maintenance ProgramThe default value is ar.
Arflags
Archive maintenance program options.
As
The name of the assembler. The default value is.
Asflags
Assembler options.
CC
The name of the C compiler. The default value is CC.
Cflags
C compiler options.
CPP
The name of the C pre-compiler. The default value is $ (CC)-E.
Cppflags
C precompiled options.
Cxx
The name of the C ++ compiler. The default value is g ++.
Cxxflags
C ++ compiler options.
FC
Name of the Fortran compiler. The default value is f77.
Fflags
FORTRAN compiler options.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.