chiark / gitweb /
Updated gpio program to fix some minor issues.
[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 else
14   echo wiringPi Build script - please wait...
15   echo
16   cd wiringPi
17   make 
18   sudo make install
19   cd ../gpio
20   make
21   sudo make install
22   cd ../examples
23   make
24   cd ..
25 fi
26
27 echo
28 echo All Done.