#!/bin/sh

clear
LIB_NAME="io-1.0.3.so"
rm -Rf ${LIB_NAME}

# removeFile.
rm -Rf ../snappy/stdint.h

gcc -lstdc++ -shared -O3 -fPIC -I${JAVA_HOME}/include/ -I${JAVA_HOME}/include/linux/ ../minlzo/minilzo.c ../snappy/snappy-sinksource.cpp ../snappy/snappy-stubs-internal.cpp ../snappy/snappy.cpp ../snappy/snappy_java.cpp src/main.c -o ${LIB_NAME}


