mirror of
https://github.com/clockworkpi/WiringPi.git
synced 2025-12-12 16:08:49 +01:00
Updated gpio program to fix some minor issues.
Added top-level build script for lazy building.
This commit is contained in:
parent
8fcaefd557
commit
c433519cf1
28
build
Executable file
28
build
Executable file
@ -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.
|
||||
Loading…
x
Reference in New Issue
Block a user