Skip to content

Commit 4d2feca

Browse files
committed
makefile: fix build: target
Create binaries under bin/ rather than a binary named bin.
1 parent 21d558c commit 4d2feca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ all: image
9393
BUILD_BINARIES := nfd-master nfd-worker nfd-topology-updater nfd-gc kubectl-nfd
9494

9595
build-%:
96-
$(GO_CMD) build -v -o bin $(BUILD_FLAGS) ./cmd/$*
96+
$(GO_CMD) build -v -o bin/ $(BUILD_FLAGS) ./cmd/$*
9797

9898
build: $(foreach bin, $(BUILD_BINARIES), build-$(bin))
9999

0 commit comments

Comments
 (0)