update readme

This commit is contained in:
Alanscut 2019-10-29 16:14:22 +08:00
parent 326f1f5ed5
commit 4454731775
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ Run this command in the directory with the source code and it will automatically
make all
```
If you want, you can install the compiled library to your system using `make install`. By default it will install the headers in `/usr/local/include/cjson` and the libraries in `/usr/local/lib`. But you can change this behavior by setting the `PREFIX` and `DESTDIR` variables: `make PREFIX=/usr DESTDIR=temp install`.
If you want, you can install the compiled library to your system using `make install`. By default it will install the headers in `/usr/local/include/cjson` and the libraries in `/usr/local/lib`. But you can change this behavior by setting the `PREFIX` and `DESTDIR` variables: `make PREFIX=/usr DESTDIR=temp install`. And uninstall them with: `make PREFIX=/usr DESTDIR=temp uninstall`.
### Including cJSON
If you installed it via CMake or the Makefile, you can include cJSON like this: