提交 44547317 编写于 作者: A Alanscut

update readme

上级 326f1f5e
...@@ -137,7 +137,7 @@ Run this command in the directory with the source code and it will automatically ...@@ -137,7 +137,7 @@ Run this command in the directory with the source code and it will automatically
make all 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 ### Including cJSON
If you installed it via CMake or the Makefile, you can include cJSON like this: If you installed it via CMake or the Makefile, you can include cJSON like this:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册