summaryrefslogtreecommitdiff
path: root/README.txt
blob: 894c6b3589545664802458e16d61f8efba9380c3 (plain) (blame)
1
2
3
4
5
6
7
# Building and installation

zap uses GNU Make as the build system. The library is primarily written in GNU Assembly (with preprocessing required), with some modules still being written in C90.
The default target builds the static library file (located at 'zap/libzapq.a'). The target 'clean' removes object files, whilst 'purge' removes all artefacts.
When invoking the makefile, the arch variable must be set (currently, the only allowed value is 'amd64'). This can be set when at invocation (like via `make arch=amd64`), or by modifying the makefile directly.
Currently, zap doesn't support being compiled as a shared library by default, but the makefile could be modified to allow this.
The 'install' target installs the headers to HDRDIR and the library file to LIBDIR.