readme.md
branchmake-cleanup
changeset 95 dfdc944f6199
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/readme.md	Thu Jan 17 16:22:02 2019 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +# How to build
     1.5 +
     1.6 +To customize your build, you may change several variables that are consumed by make.
     1.7 +
     1.8 +These variables, along with some explanations can be found in Makefile.conf.
     1.9 +
    1.10 +You can edit that file, or create a file `local.conf` in the root of the repository, which will also be parsed by make.
    1.11 +
    1.12 +A sample `local.conf` looks like this:
    1.13 +
    1.14 +~~~
    1.15 +PREFIX=$(HOME)/code/libad/build
    1.16 +
    1.17 +ENGINE_LIB=-L$(HOME)/code/engine/build/lib
    1.18 +ENGINE_INC=-I$(HOME)/code/engine/build/include
    1.19 +~~~
    1.20 +
    1.21 +Now, run:
    1.22 +
    1.23 +~~~
    1.24 +make all
    1.25 +make install
    1.26 +~~~