Skip to content

Commit

Permalink
Run go-makefile-maker
Browse files Browse the repository at this point in the history
  • Loading branch information
sapcc-bot committed Jul 18, 2024
1 parent 9863ef4 commit e317a75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ install-setup-envtest: FORCE
GO_BUILDFLAGS =
GO_LDFLAGS =
GO_TESTENV =
GO_BUILDENV =
TESTBIN=$(shell pwd)/testbin

build-all: build/ccloud-nodeCIDR-controller

build/ccloud-nodeCIDR-controller: FORCE generate
go build $(GO_BUILDFLAGS) -ldflags '-s -w $(GO_LDFLAGS)' -o build/ccloud-nodeCIDR-controller .
@env $(GO_BUILDENV) go build $(GO_BUILDFLAGS) -ldflags '-s -w $(GO_LDFLAGS)' -o build/ccloud-nodeCIDR-controller .

DESTDIR =
ifeq ($(shell uname -s),Darwin)
Expand Down Expand Up @@ -104,6 +105,7 @@ clean: FORCE

vars: FORCE
@printf "DESTDIR=$(DESTDIR)\n"
@printf "GO_BUILDENV=$(GO_BUILDENV)\n"
@printf "GO_BUILDFLAGS=$(GO_BUILDFLAGS)\n"
@printf "GO_COVERPKGS=$(GO_COVERPKGS)\n"
@printf "GO_LDFLAGS=$(GO_LDFLAGS)\n"
Expand Down

0 comments on commit e317a75

Please sign in to comment.