Find file
a37ddcf May 4, 2011
@michaeljclark @jehiah
26 lines (15 sloc) 535 Bytes
Building on Unix with gcc and autotools
Home page for json-c:
If checking out from SVN ( or Git (
$ sh
$ ./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)