From c433519cf10b7f012184b83dc7d18193a5064a6e Mon Sep 17 00:00:00 2001 From: Gordon Henderson Date: Sat, 18 Aug 2012 20:07:42 +0100 Subject: [PATCH] Updated gpio program to fix some minor issues. Added top-level build script for lazy building. --- build | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 build diff --git a/build b/build new file mode 100755 index 0000000..9df047f --- /dev/null +++ b/build @@ -0,0 +1,28 @@ +#!/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. -- 2.30.2