25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
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.