From 29ec853ed31dcab08030cbeb0ea3ebb020b602df Mon Sep 17 00:00:00 2001 From: Aditya Sirish A Yelgundhalli Date: Fri, 18 Oct 2024 14:47:30 -0400 Subject: [PATCH] Add install targets to Makefile Signed-off-by: Aditya Sirish A Yelgundhalli --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index c67b4032fb9..0ceda7e1757 100644 --- a/Makefile +++ b/Makefile @@ -84,6 +84,12 @@ cosign: $(SRCS) cosign-pivkey-pkcs11key: $(SRCS) CGO_ENABLED=1 $(GOEXE) build -trimpath -tags=pivkey,pkcs11key -ldflags "$(LDFLAGS)" -o cosign ./cmd/cosign +install: $(SRCS) + CGO_ENABLED=1 $(GOEXE) install -trimpath -ldflags "$(LDFLAGS)" ./cmd/cosign + +install-pivkey-pkcs11key: $(SRCS) + CGO_ENABLED=1 $(GOEXE) install -trimpath -tags=pivkey,pkcs11key -ldflags "$(LDFLAGS)" ./cmd/cosign + .PHONY: cross cross: $(foreach GOOS, $(PLATFORMS),\