Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
May 03, 2011
file 26 lines (15 sloc) 0.535 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Building on Unix with gcc and autotools

Home page for json-c:
  http://oss.metaparadigm.com/json-c/

If checking out from SVN (http://svn.metaparadigm.com/svn/json-c/trunk) or Git (https://github.com/jehiah/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)
Something went wrong with that request. Please try again.