blob: a1e1d38ab8bb38300eda9c66b99147b2f138c840 (
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
 | #######################################################################
##                                                                   ##
##            Compiling and installing hhtop.                        ##
##                                                                   ##
#######################################################################
* hhtop should work on any POSIX compliant system, such as GNU/Linux or OSX.
* hhtop is linked against the GNU MPFR, GNU GMP, pthread and libinum libraries.
* Compiling:
  Run
    make
  This will compile hhtop as well as libinum.
  
  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, libinum 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 libinum statically but other libraries dynamically.
  The compiled binary is placed in the ./build directory.
 |