1
Fork 0
mpu6050/Makefile
2019-05-23 08:42:42 +02:00

19 lines
366 B
Makefile

target = armv7-unknown-linux-gnueabihf
mode = release
home = $(shell pwd)
.DEFAULT_GOAL = build
build:
cargo build
ext:
cargo build --examples --$(mode) --target=$(target)
viz:
cd $(home)/viz/viz && cargo build --$(mode) --target=$(target)
deploy: ext
scp $(home)/example/target/$(target)/$(mode)/example pi@192.168.1.136:
.PHONY: deploy build ext viz