Compiling Nift
This page outlines the variables you can pass to the Makefile when compiling
Passing variables to the Makefile
Below is an example of passing a couple of variables to the Makefile:
make BUNDLED=0 LUA_VERSION=5.3; sudo make install
The following table outlines the variables that can be passed to the Makefile:
| variable | values | description |
|---|---|---|
| use system install of Lua(JIT) | ||
| which compiler to use | ||
| compile with Lua |
||
| compile with LuaJIT |
||
| does not clear lines in the source code | ||
| does not add colour to console output | ||
| does not add progress to build and status commands | ||
| compile Lua |
||
| compile binaries for use on Vercel's servers | ||
| variable | values | description |

![[ports] (FreeBSD) Get it from the FreeBSD [ports]](../images/freebsd.webp)
