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