pi-lights/a
2017-01-03 16:17:10 +00:00

5 lines
107 B
Plaintext
Executable File

run() {
echo "building..."
gcc -Wall -o "$1"{,.c} -lwiringPi -g -std=c11 && (echo "running...";./$*)
}