+ifneq ($(GO_NOTRIM),0)
+GO_BUILD_ARGS += -trimpath
+endif
+ifeq ($(V),1)
+GO_BUILD_ARGS += -v
+endif
+
+VPP_VERSION = $(shell dpkg-query -f '\${Version}' -W vpp)
+
+VPP_IMG ?= ligato/vpp-base:latest
+BINAPI_DIR ?= ./examples/binapi
+
+help:
+ @echo "List of make targets:"
+ grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
+
+.DEFAULT = help
+
+bin:
+ mkdir -p bin
+
+build: ## Build all
+ @echo "# building ${VERSION}"
+ $(GO) build ${GO_BUILD_ARGS} ./...
+
+cmd: bin ## Build commands
+ $(GO) build ${GO_BUILD_ARGS} -o bin ./cmd/...
+
+examples: bin ## Build examples
+ $(GO) build ${GO_BUILD_ARGS} -o bin ./examples/...
+
+clean: ## Clean all
+ @echo "# cleaning"
+ $(GO) clean -v ./...
+
+test: ## Run unit tests
+ @echo "# running tests"
+ $(GO) test -tags="${GO_BUILD_TAGS}" ./...
+
+integration: ## Run integration tests
+ @echo "# running integration tests"
+ $(GO) test -tags="integration ${GO_BUILD_TAGS}" ./test/integration
+
+lint: ## Run code linter
+ @echo "# running linter"
+ @golint ./...