mirror of
https://github.com/DaveGamble/cJSON.git
synced 2024-12-27 14:14:07 +08:00
Readme: Deprecate the Makefile
This commit is contained in:
parent
ed8fefc9ca
commit
7996a4a2ee
@ -127,9 +127,11 @@ make DESTDIR=$pkgdir install
|
|||||||
On Windows CMake is usually used to create a Visual Studio solution file by running it inside the Developer Command Prompt for Visual Studio, for exact steps follow the official documentation from CMake and Microsoft and use the online search engine of your choice. The descriptions of the the options above still generally apply, although not all of them work on Windows.
|
On Windows CMake is usually used to create a Visual Studio solution file by running it inside the Developer Command Prompt for Visual Studio, for exact steps follow the official documentation from CMake and Microsoft and use the online search engine of your choice. The descriptions of the the options above still generally apply, although not all of them work on Windows.
|
||||||
|
|
||||||
#### Makefile
|
#### Makefile
|
||||||
|
**NOTE:** This Method is deprecated. Use CMake if at all possible. Makefile support is limited to fixing bugs.
|
||||||
|
|
||||||
If you don't have CMake available, but still have GNU make. You can use the makefile to build cJSON:
|
If you don't have CMake available, but still have GNU make. You can use the makefile to build cJSON:
|
||||||
|
|
||||||
Run this command in the directory with the source code and it will automatically compile static and shared libraries and a little test program.
|
Run this command in the directory with the source code and it will automatically compile static and shared libraries and a little test program (not the full test suite).
|
||||||
|
|
||||||
```
|
```
|
||||||
make all
|
make all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user