You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
236 B
12 lines
236 B
![]()
3 years ago
|
# This Makefile is expected to be run inside nix-shell.
|
||
![]()
3 years ago
|
|
||
![]()
3 years ago
|
CARGO_FLAGS := --target aarch64-unknown-linux-gnu
|
||
![]()
3 years ago
|
|
||
![]()
3 years ago
|
.PHONY: all
|
||
![]()
3 years ago
|
all: Cargo.toml Cargo.lock src/main.rs
|
||
![]()
3 years ago
|
cargo build $(CARGO_FLAGS)
|
||
|
|
||
|
.PHONY: test
|
||
|
run: all
|
||
|
cargo run $(CARGO_FLAGS)
|