-lm may be necessary to compile.

git-svn-id: http://svn.code.sf.net/p/cjson/code@7 e3330c51-1366-4df0-8b21-3ccf24e3d50e
This commit is contained in:
Dave Gamble
2009-10-28 23:58:17 +00:00
parent e5fe65f58a
commit 10d4ec62e0

4
README
View File

@ -34,7 +34,7 @@ First up, how do I build?
Add cJSON.c to your project, and put cJSON.h somewhere in the header search path. Add cJSON.c to your project, and put cJSON.h somewhere in the header search path.
For example, to build the test app: For example, to build the test app:
gcc cJSON.c test.c -o test gcc cJSON.c test.c -o test -lm
./test ./test
@ -244,4 +244,4 @@ which are more complex than I'd care to try and stash into a const char array[].
Enjoy cJSON! Enjoy cJSON!
- Dave Gamble, Aug 2009 - Dave Gamble, Aug 2009