您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

29 行
351 B

  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.