@end example
@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.
+@end defvar
+
@defvar LOADLIBES
- This variable contains a list of libraries all programs in this
- directory needs to be linked to.
+ This variable contains a list linker switches to load additional
+ libraries. You usually specify here -L and -l switches.
+
+ Note: The value of this variable is not used used by OMK for any purpose
+ other than linker invocation. Therefore dependency handling of shared
+ libraries does not work if the library is specified in LOADLIBES
+ instead of lib_LOADLIBES.
@end defvar
@defvar INCLUDES
@node Common Variables, , Using Configuration Parameters, Configuration and Conditional Compilation
@subsection Common Variables
-It is common practice to use @file{config.omk} to store project-wide
-settings. Here is the list of variables, which are commonly set here
-(but they can also be set elsewhere, e.g. in @file{Makefile.omk}).
+It is common practice to use @file{config.target} or @file{config.omk}
+to store project-wide settings. Here is the list of variables, which are
+commonly set here (but they can also be set elsewhere, e.g. in
+@file{Makefile.omk}).
You can easily ``reconfigure'' your project by changing the
@file{config.omk} file. It is useful to have several configurations