X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk/sssa.git/blobdiff_plain/b1049f7bd599a57112a2fc646937f658ba8c9e59..f28236eea25fdde1a2a9c764df87209a3f69d133:/doc/omk-manual.texinfo diff --git a/doc/omk-manual.texinfo b/doc/omk-manual.texinfo index 7db1302..c85cc52 100644 --- a/doc/omk-manual.texinfo +++ b/doc/omk-manual.texinfo @@ -362,9 +362,19 @@ source @file{test.c}. @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 @@ -740,9 +750,10 @@ directory. @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