20 lines
446 B
Bash
Executable File
20 lines
446 B
Bash
Executable File
#!/bin/sh
|
|
# A script to download and build the libpifacedigital for PiFace
|
|
# The library is located at github.com/piface
|
|
# Since the PiFace library is GPLv3, we have to keep it separate.
|
|
|
|
if [ ! -d "libmcp23s17" ]
|
|
then
|
|
git clone https://github.com/piface/libmcp23s17.git
|
|
fi
|
|
|
|
if [ ! -d "libpifacedigital" ]
|
|
then
|
|
git clone https://github.com:piface/libpifacedigital.git
|
|
fi
|
|
|
|
# Build the library
|
|
|
|
make -C libmcp23s17
|
|
make -C libpifacedigital
|