mvn clean install
To build for 32 bit on a 64 bit machine:
mvn clean install -Dos.arch=i386
To cross-compile for Windows using MinGW (Mac version) or MinGW-w64 -- also requires Wine (Mac version) for testing:
mvn clean install -P cross-compile -Dhost.os=mingw32 -Dos.arch=i386
To install pkg-config on Mac OS X:
brew install pkg-config
sudo ln -s /usr/local/share/aclocal/pkg.m4 /usr/share/aclocal