Skip to content

Commit

Permalink
makefile: fix build: target
Browse files Browse the repository at this point in the history
Create binaries under bin/ rather than a binary named bin.
  • Loading branch information
marquiz committed Dec 22, 2023
1 parent 21d558c commit 4d2feca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 4d2feca

Please sign in to comment.