瀏覽代碼

Updated gpio program to fix some minor issues.

Added top-level build script for lazy building.
pull/22/head
Gordon Henderson 12 年之前
父節點
當前提交
c433519cf1
共有 1 個檔案被更改,包括 28 行新增0 行删除
  1. +28
    -0
      build

+ 28
- 0
build 查看文件

@@ -0,0 +1,28 @@
#!/bin/bash

if [ x$1 = "xclean" ]; then
echo Cleaning
echo
cd wiringPi
make clean
cd ../gpio
make clean
cd ../examples
make clean
cd ..
else
echo wiringPi Build script - please wait...
echo
cd wiringPi
make
sudo make install
cd ../gpio
make
sudo make install
cd ../examples
make
cd ..
fi

echo
echo All Done.

Loading…
取消
儲存