devel:how-to:internal-lib
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | devel:how-to:internal-lib [2012/10/14 10:04] (current) – created miconda | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== How To Create And Use An Internal Library ====== | ||
+ | ===== Create a library ===== | ||
+ | |||
+ | * make a new directory in '' | ||
+ | * copy there the Makefile from '' | ||
+ | * add your '' | ||
+ | |||
+ | ===== Use a library from a module ===== | ||
+ | |||
+ | * add to the module' | ||
+ | |||
+ | < | ||
+ | SERLIBPATH=../ | ||
+ | # libraries, in the format path/ | ||
+ | # what will be used for -l | ||
+ | SER_LIBS=$(SERLIBPATH)/ | ||
+ | </ | ||
+ | |||
+ | Compiling the module will re-compile the library automatically if needed (e.g. some change in it). | ||
+ | |||
+ | '' |
devel/how-to/internal-lib.txt · Last modified: 2012/10/14 10:04 by miconda