1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

makefile: fix build: target

Create binaries under bin/ rather than a binary named bin.
This commit is contained in:
Markus Lehtonen 2023-12-22 09:50:12 +02:00
parent 21d558cfe8
commit 4d2feca004

View file

@ -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))