# parsav distribution
to prepare a binary (or LLVM IR) distribution of parsav, simply `cd` into its directory and issue the command `make`. any version of `make` should work; you may need to manually set the location of the C runtime with the `runtime` variable if you're not using GNU or BSD make (e.g. `make runtime='crt1.o crti.o crtn.o' all`). certain distributions may need extra parameters to be passed to the makefile, or the makefile may need to be run in a particular environment, such as on `nix`.
# dependencies
the standard releases are built with most dependencies statically linked at compile time. several dependencies will need to be installed before linking parsav, however:
* libc: used for OS calls
* binutils: used to link and strip the binary
* libjsonc: used for fediverse integration
* libpq: used for the postgres backend (usually part of the postgres distribution)
## makefile variables
## special cases
### nixos
on nixos, `make` will not work unless you use `nix-shell` to enter an environment with all the dependencies available. however, if you just want to install parsav, you can use `default.nix` to build a package.