This commit is contained in:
CK Tan 2020-11-01 18:41:46 -08:00
parent 6eb7ea27f2
commit f01507cabe
1 changed files with 6 additions and 4 deletions

View File

@ -155,14 +155,16 @@ if (host.ok) {
}
```
## Building
## Building and installing
A normal *make* suffices. Alternately, you can also simply include the
A normal *make* suffices. You can also simply include the
`toml.c` and `toml.h` files in your project.
## Install
Invoking `make install` will install the header file in
/usr/local/include and library files in /usr/local/lib.
Invoking `make install` will install the header file in /usr/local/include and library files in /usr/local/lib. Alternatively, specify `make install prefix=/a/file/path` to install into /a/file/path/include and /a/file/path/lib/.
Alternatively, specify `make install prefix=/a/file/path` to install into
/a/file/path/include and /a/file/path/lib/.
## Testing