a guest Feb 13th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- all: servo_serial
- @echo "compiling servo_serial"
- gcc servo_serial.c -o servo_serial -lbcm2835 -lpthread -Wall
- @echo "compiled"
- @echo "installing servo_serial"
- @if [ ! -f servo_serial ]; then echo "installation failed"; else cp servo_serial /usr/bin; fi;
- @echo "installed!"
- @echo "Cleaning files"
- @rm -f servo_serial
- @echo "cleaned"
RAW Paste Data