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.
@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 OMK_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 OMK_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 OMK_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.
@section Compiler Flags
OMK follows the same philosophy for flag variables as does Automake. The
-variables with AM_ prefix (e.g. AM_CPPFLAGS) are supposed to be used by
+variables with OMK_ prefix (e.g. OMK_CPPFLAGS) are supposed to be used by
the package developer and variable without that prefix (e.g. CPPFLAGS)
are reserved for the user. The following
-@defvar AM_CPPFLAGS
+@defvar OMK_CPPFLAGS
Preprocessor switches.
@end defvar
-@defvar AM_CFLAGS
+@defvar OMK_CFLAGS
C compiler switches.
@end defvar