chiark
/
gitweb
/
~ianmdlvl
/
wiringPi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Minor changes to messages being printed from wiringPiSetup()
[wiringPi.git]
/
build
1
#!/bin/bash
2
3
if [ x$1 = "xclean" ]; then
4
echo Cleaning
5
echo
6
cd wiringPi
7
make clean
8
cd ../gpio
9
make clean
10
cd ../examples
11
make clean
12
cd ..
13
elif [ x$1 = "xuninstall" ]; then
14
echo Uninstalling
15
echo
16
echo "WiringPi library"
17
cd wiringPi
18
sudo make uninstall
19
echo
20
echo "GPIO Utility"
21
cd ../gpio
22
sudo make uninstall
23
cd ..
24
else
25
echo wiringPi Build script - please wait...
26
echo
27
echo "WiringPi library"
28
cd wiringPi
29
sudo make uninstall
30
make
31
sudo make install
32
echo
33
echo "GPIO Utility"
34
cd ../gpio
35
make
36
sudo make install
37
echo
38
echo "Examples"
39
cd ../examples
40
make
41
cd ..
42
fi
43
44
echo
45
echo All Done.