Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
devel:create-library [2008/11/20 23:17] miconda created |
devel:create-library [2012/03/16 03:49] 109.230.216.60 kEOSeIcLsftMHzBWwWZ |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How-To: Create a library in SIP Router ====== | + | Thanks for sharing sprueb informations. Your web-site is so cool. I'm impressed by the details that you’ve on this site. It reveals how nicely you understand |
- | + | ||
- | ===== Create a library ===== | + | |
- | + | ||
- | * make a new directory in \'lib\' folder | + | |
- | * copy there the Makefile from lib/print/ and change the name in it | + | |
- | * add your .c and .h files. | + | |
- | + | ||
- | ===== Use a library from a module ===== | + | |
- | + | ||
- | * add to the module\' | + | |
- | + | ||
- | < | + | |
- | SERLIBPATH=../../lib | + | |
- | # libraries, in the format path/ | + | |
- | # what will be used for -l | + | |
- | SER_LIBS=$(SERLIBPATH)/ | + | |
- | </ | + | |
- | + | ||
- | Compiling | + |