make -r FPC=<path-to-fpc> LIBS=</path-to-additional-libs>
E.g, to build with FPC in ~/fpc3.3.1
make -r FPC=~/fpc3.3.1/bin/fpc
To include /usr/local/lib in libraries dirs to be passed to the linker:
make -r LIBS=/usr/local/lib
The path to look for lazutf8 can be specified with LAZUTF8.
make -r LAZUTF8=/usr/local/share/lazarus/components/lazutils/lib/aarch64-darwin
The output of the build process, apart from the .o files, is a program
called ncedit which demonstrates the basic functionality of the
library.
To run the unit tests, run make tests.