f78
Variables Used by Implicit Rules
For example, the command used to compile a C source file actually says
The variables used in implicit rules fall into two classes:
Those being names of programs (like
Those containing arguments for the programs (like
The following are variables used as names of programs in built-in rules.
Th
b2b
e following are variables whose values are additional arguments for the
previous list of programs associated with variables. The default values for all of
these is the empty string, unless otherwise noted.
Archive-maintaining program; default: ar.
Program for doing assembly; default: as.
Program for compiling C programs; default: cc.
Program for compiling C++ programs; default: g++.
Program for extracting a file from RCS; default: co.
Program for running the C preprocessor, with results to standard output;
default: $(CC) -E.
Program for compiling or preprocessing Fortran and Ratfor programs; default: f77.
Program for extracting a file from SCCS; default: get.
Program to use to turn Lex grammars into C programs or Ratfor programs;
default: lex.
Program for compiling Pascal programs; default: pc.
Program to use to turn Yacc grammars into C programs; default: yacc.
Program to use to turn Yacc grammars into Ratfor programs; default: yacc -r.
Program to convert a Texinfo source file into an Info file; default: makeinfo.
Program to make TEX DVI files from TEX source; default: tex.
Program to make TEX DVI files from Texinfo source; default: texi2dvi.
Program to translate Web into TEX; default: weave.
Program to translate C Web into TEX; default: cweave.
Program to translate Web into Pascal; default: tangle.
Program to translate C Web into C; default: ctangle.
Command to remove a file; default: rm -f.
Flags to give the archive-maintaining program; default: rv.
Extra flags to give to the assembler (when explicitly invoked on a .s or .S file).
Extra flags to give to the C compiler.
Extra flags to give to the C++ compiler.
Extra flags to give to the RCS co program.
Extra flags to give to the C preprocessor and programs that use it (the C and
Fortran compilers).
Extra flags to give to the Fortran compiler.
Extra flags to give to the SCCS get program.
Extra flags to give to compilers when they are supposed to invoke the linker, ld.
Extra flags to give to Lex.
Extra flags to give to the Pascal compiler.
Extra flags to give to the Fortran compiler for Ratfor programs.
Extra flags to give to Yacc.