]> rtime.felk.cvut.cz Git - omk.git/blobdiff - doc/omk-manual.texinfo
Support program specific CFLAGS, CXXCLAGS and CPPFLAGS
[omk.git] / doc / omk-manual.texinfo
index 7f92ff1fe41f9b1325ae78ce9fbb54b726446673..b3f60d434155e454f0ce5a2795e19efb8dbc7658 100644 (file)
@@ -359,13 +359,6 @@ source @file{test.c}.
   source.
 @end defvar
 
-@defvar xxx_GEN_SOURCES
-  Program sources generated (by other rules) in the build directory. See
-  the following example.
-  @verbatiminclude tests/programs/generated-sources/Makefile.omk
-
-@end defvar
-
 @defvar xxx_LIBS
   This variable contains a list of libraries the program @var{xxx} will
   be linked with.
@@ -375,6 +368,28 @@ source @file{test.c}.
   @end example
 @end defvar
 
+@defvar xxx_CFLAGS
+  CFLAGS specific for the compiler program. If this variable is set, its
+  value efectively overrides the value of AM_CFLAGS variable.
+@end defvar
+
+@defvar xxx_CXXFLAGS
+  CXXFLAGS specific for the compiler program. If this variable is set, its
+  value efectively overrides the value of AM_CXXFLAGS variable.
+@end defvar
+
+@defvar xxx_CPPFLAGS
+  CPPFLAGS specific for the compiler program. If this variable is set, its
+  value efectively overrides the value of AM_CPPFLAGS variable.
+@end defvar
+
+@defvar xxx_GEN_SOURCES
+  Program sources generated (by other rules) in the build directory. See
+  the following example.
+  @verbatiminclude tests/programs/generated-sources/Makefile.omk
+
+@end defvar
+
 @defvar lib_LOADLIBES
   This variable contains a list of libraries which needs to be linked to
   to all programs or shared libraries in this directory.