TARGET ?= /usr/local ARCH != uname -m SRCS := qemu-vm qemu-vm-* install: check_deps $(SRCS) install -Dm 0755 --owner=root --group=root -t $(TARGET)/bin $(SRCS) check_deps: @command -v qemu-system-$(ARCH) @command -v qemu-affinity @command -v swtpm @command -v dnsmasq .PHONY: install check_deps