readme.md
author Volker Birk <vb@pep-project.org>
Thu, 14 Nov 2019 23:22:05 +0100
changeset 134 b6e70c7067b3
parent 95 dfdc944f6199
permissions -rw-r--r--
merging
damiano@95
     1
# How to build
damiano@95
     2
damiano@95
     3
To customize your build, you may change several variables that are consumed by make.
damiano@95
     4
damiano@95
     5
These variables, along with some explanations can be found in Makefile.conf.
damiano@95
     6
damiano@95
     7
You can edit that file, or create a file `local.conf` in the root of the repository, which will also be parsed by make.
damiano@95
     8
damiano@95
     9
A sample `local.conf` looks like this:
damiano@95
    10
damiano@95
    11
~~~
damiano@95
    12
PREFIX=$(HOME)/code/libad/build
damiano@95
    13
damiano@95
    14
ENGINE_LIB=-L$(HOME)/code/engine/build/lib
damiano@95
    15
ENGINE_INC=-I$(HOME)/code/engine/build/include
damiano@95
    16
~~~
damiano@95
    17
damiano@95
    18
Now, run:
damiano@95
    19
damiano@95
    20
~~~
damiano@95
    21
make all
damiano@95
    22
make install
damiano@95
    23
~~~