dnsupdater/Makefile
2020-10-26 13:42:07 +04:00

12 lines
346 B
Makefile

PROJECT_NAME := "dnsupdater"
PKG := "gitlab.lehouerou.net/laurent/$(PROJECT_NAME)"
PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/)
GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/ | grep -v _test.go)
all: build
dep: ## Get the dependencies
@go get -v -d ./...
build: dep ## Build the binary file
@go build -i -v $(PKG)