BUILDROOT := $(HOME)/tmp/buildroot-2019.02.7 .PHONY: all all: CGO_ENABLED=0 go build -o mfi_homekit main.go .PHONY: docker docker: cp mfi_homekit docker/mfi_homekit; \ cd docker; \ docker build -t docker.crute.me/mfi_homekit:latest .; \ docker push docker.crute.me/mfi_homekit:latest