summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1997-10-27 03:47:03 +0000
committerKarl Heuer <kwzh@gnu.org>1997-10-27 03:47:03 +0000
commite7e9b799c4775c0591786b4053e89dbcbd1f5beb (patch)
tree15e24c39f9758d0bd32ff29a4795380934c3889d
parenta3a7581c1a62f879ed42b6ecca19fd68ed9f9389 (diff)
downloadgunmake-e7e9b799c4775c0591786b4053e89dbcbd1f5beb.tar.gz
Mention YFLAGS and LFLAGS along with CFLAGS.
-rw-r--r--make-stds.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/make-stds.texi b/make-stds.texi
index c4a6f60..41fb212 100644
--- a/make-stds.texi
+++ b/make-stds.texi
@@ -209,11 +209,12 @@ don't need to replace them with other programs.
Each program-name variable should come with an options variable that is
used to supply options to the program. Append @samp{FLAGS} to the
program-name variable name to get the options variable name---for
-example, @code{BISONFLAGS}. (The name @code{CFLAGS} is an exception to
-this rule, but we keep it because it is standard.) Use @code{CPPFLAGS}
-in any compilation command that runs the preprocessor, and use
-@code{LDFLAGS} in any compilation command that does linking as well as
-in any direct use of @code{ld}.
+example, @code{BISONFLAGS}. (The names @code{CFLAGS} for the C
+compiler, @code{YFLAGS} for yacc, and @code{LFLAGS} for lex, are
+exceptions to this rule, but we keep them because they are standard.)
+Use @code{CPPFLAGS} in any compilation command that runs the
+preprocessor, and use @code{LDFLAGS} in any compilation command that
+does linking as well as in any direct use of @code{ld}.
If there are C compiler options that @emph{must} be used for proper
compilation of certain files, do not include them in @code{CFLAGS}.