+prepare:
+ rustup target add $(target)
+
+build: prepare
+ cargo build --profile $(profile) --target $(target)
+
+$(architectures):
+ $(MAKE) -e target=$@ rpm
+
+rpm: build
+
+package: $(architectures)
+
+.PHONY: default build $(architectures) rpm package prepare set_rust