meankondo/INSTALL

42 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2015-06-14 00:52:45 +00:00
#######################################################################
## ##
## Compiling and installing meankondo. ##
## ##
#######################################################################
* meankondo should work on any POSIX compliant system, such as GNU/Linux or OSX.
* Compiling:
Run
make
The default paths can be modified by passing the appropriate arguments to
make, as specified in the following table
compiler : CC=/usr/bin/gcc
linker : LD=/usr/bin/gcc
archive : AR=/usr/bin/ar
include : INCLUDE=
lib paths : LIB=
optimize : OPT=-O3
For example,
make CC=/usr/local/bin/gcc INCLUDE=/usr/local/include LIBDIR=-L/usr/local/lib
In addition, libkondo can be linked dynamically or statically, which is
controlled by the STATIC option of the makefile.
If STATIC=0 then link dynamically
If STATIC=2 then link statically
If STATIC=1 (default) then link libkondo statically but other libraries dynamically.
* Installing:
Run
make install
The default install prefix (/usr) can be changed by changing the PREFIX
variable.
For example
make install PREFIX=/usr/local