Browse Source

Add basic build instructions

sync
Damiano Boppart 3 years ago
parent
commit
859527e249
1 changed files with 23 additions and 0 deletions
  1. +23
    -0
      readme.md

+ 23
- 0
readme.md View File

@ -0,0 +1,23 @@
# How to build
To customize your build, you may change several variables that are consumed by make.
These variables, along with some explanations can be found in Makefile.conf.
You can edit that file, or create a file `local.conf` in the root of the repository, which will also be parsed by make.
A sample `local.conf` looks like this:
~~~
PREFIX=$(HOME)/code/libad/build
ENGINE_LIB=-L$(HOME)/code/engine/build/lib
ENGINE_INC=-I$(HOME)/code/engine/build/include
~~~
Now, run:
~~~
make all
make install
~~~

Loading…
Cancel
Save