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