WiringPi/build
Gordon Henderson c433519cf1 Updated gpio program to fix some minor issues.
Added top-level build script for lazy building.
2012-08-18 20:07:42 +01:00

29 lines
351 B
Bash
Executable File

#!/bin/bash
if [ x$1 = "xclean" ]; then
echo Cleaning
echo
cd wiringPi
make clean
cd ../gpio
make clean
cd ../examples
make clean
cd ..
else
echo wiringPi Build script - please wait...
echo
cd wiringPi
make
sudo make install
cd ../gpio
make
sudo make install
cd ../examples
make
cd ..
fi
echo
echo All Done.