2 target = $(shell rustc -vV | grep host | awk '{print $$2}')
3 architectures := x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu
11 rustup target add $(target)
14 cargo build --profile $(profile) --target $(target)
17 $(MAKE) -e target=$@ rpm
21 package: $(architectures)
23 .PHONY: default build $(architectures) rpm package prepare set_rust