7 echo "Please check the messages and fix any problems. If you're still stuck,"
8 echo "then please email all the output and as many details as you can to"
9 echo " projects@drogon.net"
15 if [ x$1 = "xclean" ]; then
17 echo -n "wiringPi: " ; make clean
19 echo -n "DevLib: " ; make clean
21 echo -n "gpio: " ; make clean
23 echo -n "Examples: " ; make clean
25 echo -n "Gertboard: " ; make clean
27 echo -n "PiFace: " ; make clean
29 echo -n "Quick2Wire: " ; make clean
31 echo -n "PiGlow: " ; make clean
35 if [ x$1 = "xuninstall" ]; then
37 echo -n "wiringPi: " ; sudo make uninstall
39 echo -n "DevLib: " ; sudo make uninstall
41 echo -n "gpio: " ; sudo make uninstall
46 echo "wiringPi Build script"
47 echo "====================="
51 echo "WiringPi Library"
54 if [ x$1 = "xstatic" ]; then
57 sudo make install-static
66 echo "WiringPi Devices Library"
69 if [ x$1 = "xstatic" ]; then
72 sudo make install-static
97 echo "NOTE: To compile programs with wiringPi, you need to add:"
99 echo " to your compile line(s) To use the Gertboard, MaxDetect, etc."
100 echo " code (the devLib), you need to also add:"
101 echo " -lwiringPiDev"
102 echo " to your compile line(s)."