delete makefile [skip ci]
This commit is contained in:
parent
ccb1a24d42
commit
9ed27ce8fa
1 changed files with 0 additions and 29 deletions
29
Makefile
29
Makefile
|
@ -1,29 +0,0 @@
|
||||||
target = armv7-unknown-linux-gnueabihf
|
|
||||||
cross_comp_packages = gcc-arm-linux-gnueabihf libc6-armhf-cross libc6-dev-armhf-cross
|
|
||||||
mode = release
|
|
||||||
home = $(shell pwd)
|
|
||||||
|
|
||||||
.DEFAULT_GOAL = build
|
|
||||||
|
|
||||||
build:
|
|
||||||
cargo build
|
|
||||||
|
|
||||||
test:
|
|
||||||
cargo test
|
|
||||||
|
|
||||||
rustup_cross:
|
|
||||||
rustup target add $(target)
|
|
||||||
|
|
||||||
install:
|
|
||||||
apt-get install $(cross_comp_packages)
|
|
||||||
|
|
||||||
linux:
|
|
||||||
cargo build --examples --$(mode) --target=$(target)
|
|
||||||
|
|
||||||
viz:
|
|
||||||
cd $(home)/viz/viz && cargo build --$(mode) --target=$(target)
|
|
||||||
|
|
||||||
upload: linux
|
|
||||||
scp $(home)/target/armv7-unknown-linux-gnueabihf/release/examples/linux pi@192.168.1.136:
|
|
||||||
|
|
||||||
.PHONY: deploy build ext viz
|
|
Loading…
Reference in a new issue