11 lines
210 B
Makefile
11 lines
210 B
Makefile
.PHONY: build deploy run
|
|
|
|
build:
|
|
cargo build --target=armv7-unknown-linux-gnueabihf
|
|
|
|
deploy: build
|
|
scp ./target/armv7-unknown-linux-gnueabihf/debug/aw-lights pi:aw-lights-bin
|
|
|
|
run: deploy
|
|
ssh pi ./aw-lights
|