Building on Unix with gcc and autotools | |
If checking out from CVS: | |
aclocal-1.6 | |
libtoolize --copy | |
autoheader | |
automake-1.6 --add-missing --copy | |
autoconf | |
Then configure, make, make install | |
Test programs | |
To build 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) |