2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-03 17:40:53 +00:00
restic/cmd/khepri/Makefile
2014-11-15 19:08:15 +01:00

19 lines
284 B
Makefile

# try to get version from git
VERSION = $(shell ./version.sh)
VERSION ?= "unknown version"
LDFLAGS = -X main.version $(VERSION)
TAGS =
.PHONY: all clean debug
all: khepri
khepri: *.go
go build $(TAGS) -ldflags "$(LDFLAGS)"
debug: TAGS=-tags debug
debug: khepri
clean:
go clean