From 040dcb73e770a87870cac6f6f979f72371b2f2f8 Mon Sep 17 00:00:00 2001 From: Matthias Hochgatterer Date: Fri, 7 Dec 2018 10:49:41 +0100 Subject: [PATCH] Fix build target in make file --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9490b39..61c7326 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,6 @@ BINARY_NAME=hkuvrd BUILD_DIR=build BUILD_SRC=daemon/hkuvrd.go -BUILD_DEST= # use arm64 once Rasbian supports 64-bits PACKAGE_RPI=$(BINARY_NAME)_linux_armhf @@ -16,7 +15,7 @@ PACKAGE_MAC=$(BINARY_NAME)_darwin_amd64 all: test build build: - $(GOBUILD) -o $(BUILD_DEST) -i $(BUILD_SRC) + $(GOBUILD) -o $(BUILD_DIR)/$(BINARY_NAME) -i $(BUILD_SRC) test: $(GOTEST) -v ./...