21 lines
363 B
Plaintext
21 lines
363 B
Plaintext
|
|
Building on Unix with gcc and autotools
|
||
|
|
|
||
|
|
If checking out from CVS:
|
||
|
|
|
||
|
|
sh autogen.sh
|
||
|
|
|
||
|
|
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)
|