Skip to content

Commit

Permalink
Merge pull request #304 from oss-qm/submit/makefile-fixes
Browse files Browse the repository at this point in the history
makefile fixes
  • Loading branch information
samuelkarp authored Nov 29, 2023
2 parents a0ae1c2 + 481d64b commit 5475f28
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@
# limitations under the License.

PACKAGES=$(shell go list ./... | grep -v /vendor/)
GO_TAGS=$(if $(GO_BUILDTAGS),-tags "$(strip $(GO_BUILDTAGS))",)
GO ?= go
GO_BUILD_FLAGS ?=

all: cgutil
go build -v
$(GO) build -v $(GO_TAGS)

cgutil:
cd cmd/cgctl && go build -v
cd cmd/cgctl && $(GO) build $(GO_BUILD_FLAGS) -v $(GO_TAGS)

proto:
protobuild --quiet ${PACKAGES}
Expand Down

0 comments on commit 5475f28

Please sign in to comment.