tidied and tested DRC Serial (renamed it it drcSerial too)

Tweaked the mcp3422 code
altered the build script to let me build static
This commit is contained in:
Gordon Henderson
2013-07-28 10:54:32 +01:00
parent e25cbc0a62
commit 5e16e15a59
7 changed files with 120 additions and 265 deletions

24
build
View File

@@ -51,18 +51,30 @@ fi
echo "WiringPi Library"
cd wiringPi
sudo make uninstall
make
check_make_ok
sudo make install
if [ x$1 = "xstatic" ]; then
make static
check_make_ok
sudo make install-static
else
make
check_make_ok
sudo make install
fi
check_make_ok
echo
echo "WiringPi Devices Library"
cd ../devLib
sudo make uninstall
make
check_make_ok
sudo make install
if [ x$1 = "xstatic" ]; then
make static
check_make_ok
sudo make install-static
else
make
check_make_ok
sudo make install
fi
check_make_ok
echo