From 8c3504a09445c6f88e63f6c2d5f13c10732fe01a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 30 Jul 2024 13:19:22 +0300 Subject: [PATCH] build: Use $@ in macos-amd64 target It was missed in c4518fecb, it's used in all targets except this one. Signed-off-by: Christophe Fergeau --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6db8f265a2..e3a80bc0f2 100644 --- a/Makefile +++ b/Makefile @@ -99,7 +99,7 @@ install: $(SOURCES) go install -tags "$(BUILDTAGS)" -ldflags="$(LDFLAGS)" $(GO_EXTRA_BUILDFLAGS) ./cmd/crc $(BUILD_DIR)/macos-amd64/crc: $(SOURCES) - GOARCH=amd64 GOOS=darwin go build -tags "$(BUILDTAGS)" -ldflags="$(LDFLAGS)" -o $(BUILD_DIR)/macos-amd64/crc $(GO_EXTRA_BUILDFLAGS) ./cmd/crc + GOARCH=amd64 GOOS=darwin go build -tags "$(BUILDTAGS)" -ldflags="$(LDFLAGS)" -o $@ $(GO_EXTRA_BUILDFLAGS) ./cmd/crc $(BUILD_DIR)/macos-arm64/crc: $(SOURCES) GOARCH=arm64 GOOS=darwin go build -tags "$(BUILDTAGS)" -ldflags="$(LDFLAGS)" -o $@ $(GO_EXTRA_BUILDFLAGS) ./cmd/crc