blob: cac075d272aa7806601f9e61399dd37e779d1559 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 | #######################################################################
##                                                                   ##
##            Compiling and installing meankondo.                    ##
##                                                                   ##
#######################################################################
* meankondo should work on any POSIX compliant system, such as GNU/Linux or OSX.
* meankondo is linked against the GNU MPFR and GNU GMP libraries.
* 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
 |