From 4d2feca004a07be9cf15aab2b4702fbe4364b4d2 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 22 Dec 2023 09:50:12 +0200 Subject: [PATCH] makefile: fix build: target Create binaries under bin/ rather than a binary named bin. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fb66d1599..a23222a65 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ all: image BUILD_BINARIES := nfd-master nfd-worker nfd-topology-updater nfd-gc kubectl-nfd build-%: - $(GO_CMD) build -v -o bin $(BUILD_FLAGS) ./cmd/$* + $(GO_CMD) build -v -o bin/ $(BUILD_FLAGS) ./cmd/$* build: $(foreach bin, $(BUILD_BINARIES), build-$(bin))