diff options
Diffstat (limited to 'json-c/src/README')
-rw-r--r-- | json-c/src/README | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/json-c/src/README b/json-c/src/README new file mode 100644 index 0000000..05ec274 --- /dev/null +++ b/json-c/src/README @@ -0,0 +1,28 @@ +Building on Unix with git, gcc and autotools + +Home page for json-c: + http://oss.metaparadigm.com/json-c/ + +Github repo for json-c: + https://github.com/json-c/json-c + + $ git clone https://github.com/json-c/json-c.git + $ cd json-c + $ sh autogen.sh + +Then + + $ ./configure + $ make + $ make install + +To build and run the test programs run + + $ make check + +Linking to libjson + +If your system has pkgconfig then you can just add this to your makefile + +CFLAGS += $(shell pkg-config --cflags json) +LDFLAGS += $(shell pkg-config --libs json) |