Non optimized, minimal Build:
Compiler gcc-4.9
Port of JTS v1.12.0
GEOS_DIR=/usr/net/lib/geos-3.4.2-gcc4.9 GEOS_LIB=/usr/net/lib/geos-3.4.2-gcc4.9/lib GEOS_INC=/usr/net/lib/geos-3.4.2-gcc4.9/include
LDFLAGS="-L${GEOS_LIB}"
# shared linking LIBS="-L${GEOS_LIB} -lgeos" CLIBS="-L${GEOS_LIB} -lgeos_c" CCLIBS="-L${GEOS_LIB} -lgeos"
# static linking CLIBS="-L${GEOS_LIB} -lgeos_c -lgeos -m" CCLIBS="-L${GEOS_LIB} -lgeos -m"