You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. if [ x$1 = "xclean" ]; then
  3. echo Cleaning
  4. echo
  5. cd wiringPi
  6. make clean
  7. cd ../gpio
  8. make clean
  9. cd ../examples
  10. make clean
  11. cd ..
  12. else
  13. echo wiringPi Build script - please wait...
  14. echo
  15. cd wiringPi
  16. make
  17. sudo make install
  18. cd ../gpio
  19. make
  20. sudo make install
  21. cd ../examples
  22. make
  23. cd ..
  24. fi
  25. echo
  26. echo All Done.