Thu, 17 Jul 2003 19:11:30 +0200
trunk: changeset 58
Cleaned up system.mk
53 | 1 | |
2 | libtu | |
3 | ||
4 | Copyright (c) Tuomo Valkonen 1999-2003. | |
5 | <tuomov at iki.fi> | |
0 | 6 | |
7 | ||
53 | 8 | Libtu is a small utility library for programs written in C. You may |
9 | distribute and modify it under the terms of either the Clarified | |
10 | Artistic License or the GNU LGPL, version 2.1 or later, both reproduced | |
11 | in the file LICENSE. | |
0 | 12 | |
3 | 13 | To build the library, first edit system.mk to customize it for your |
0 | 14 | system if necessary. Then 'make depend && make'. |
15 | To install it run 'make install' (perhaps as root depending on | |
16 | where you are installing it). | |
17 | ||
18 | If you want to use it in your programs, you may try to figure out how | |
19 | by reading the header files (include/*.h) and test programs (tester*.c). | |
20 | Or you could try urging me to write some sort of a manual. | |
25 | 21 | |
22 | --- | |
23 | ||
24 | Libtu needs the functions asprintf and vasprintf. These do not | |
35 | 25 | exist on most platforms. One implementation by Mark Martinec |
26 | is included in snprintf_2.2/ and is used by default. To use the | |
27 | system's versions of these functions, if available, modify | |
28 | system.mk. | |
25 | 29 |