mkdir lib
cd ./libmcp23s17/ && make
make install
cd ..
gcc -c -o ./lib/libpifacecad.o ./src/pifacecad.c
ar rcs ./lib/libpifacecad.a ./lib/libpifacecad.o


mkdir -p lib
cd ./libmcp23s17/ && make && make install
cd ..
gcc -c -o ./lib/libpifacecad.o ./src/pifacecad.c \
  && ar rcs ./lib/libpifacecad.a ./lib/libpifacecad.o

node-gyp configure
node-gyp build


Fix build with node-gyp configure & build
Fix build with node-gyp configure & build

You need node-gyp to build the module. It can be
installed with:

  npm install -g node-gyp

The install script calls
node-gyp configure # creates files in build directory for installed node version
node-gyp build     # builds the project
