cmdline: new build system
[libcmdline.git] / README
1 This library provides an interface to implement command line
2 interfaces. It has no dependency except libc, and it contains its own
3 (lightweight) alternative to readline. The libcmdline library was
4 initially designed for very small devices like microcontrollers or
5 embedded devices running outside an OS, but it also fully works under
6 linux.
7
8 To compile:
9   make
10
11 Then install it:
12   make install PREFIX=/usr/local
13
14 If you don't have libevent on your system, edit the libcmdline.vars.mk
15 file and comment the related line.
16
17 To cross-compile the library (example for powerpc):
18   make CROSS=powerpc-linux-gnu-