#!/bin/sh

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

gcc -shared -O3 -fPIC -I${JAVA_HOME}/include/ -I${JAVA_HOME}/include/linux/ -lstdc++ src/cpu.c src/org_maachang_rawio_NativeRawIO.c -o ${LIB_NAME}

