mirror of
https://github.com/polyfractal/rustl8710.git
synced 2024-12-04 20:20:30 +00:00
11 lines
298 B
Makefile
11 lines
298 B
Makefile
|
|
TARGET=application
|
|
OBJ_DIR=$(TARGET)/Debug/rust_obj
|
|
|
|
|
|
.PHONY: application
|
|
application:
|
|
cd src/rust && rustup override set nightly
|
|
cd src/rust && xargo build --target thumbv7m-none-eabi
|
|
mkdir -p $(OBJ_DIR)
|
|
cp src/rust/target/thumbv7m-none-eabi/debug/librustl8710.rlib $(OBJ_DIR)/librustl8710.o
|