You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README 553 B

12345678910111213141516171819202122232425262728
  1. Building on Unix with git, gcc and autotools
  2. Home page for json-c:
  3. http://oss.metaparadigm.com/json-c/
  4. Github repo for json-c:
  5. https://github.com/json-c/json-c
  6. $ git clone https://github.com/json-c/json-c.git
  7. $ cd json-c
  8. $ sh autogen.sh
  9. Then
  10. $ ./configure
  11. $ make
  12. $ make install
  13. To build and run the test programs run
  14. $ make check
  15. Linking to libjson
  16. If your system has pkgconfig then you can just add this to your makefile
  17. CFLAGS += $(shell pkg-config --cflags json)
  18. LDFLAGS += $(shell pkg-config --libs json)