1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-02-10 16:39:06 +00:00
restic/cmd/khepri/Makefile

19 lines
332 B
Makefile
Raw Normal View History

# 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
2014-11-16 14:30:37 +00:00
khepri: *.go $(wildcard ../../*.go) $(wildcard ../../*/*.go)
go build $(TAGS) -ldflags "$(LDFLAGS)"
debug: TAGS=-tags debug
debug: khepri
clean:
go clean