2
2
mirror of https://github.com/octoleo/restic.git synced 2024-09-23 04:09:01 +00:00
restic/cmd/restic/Makefile
2015-01-17 16:32:24 +01:00

19 lines
376 B
Makefile

.PHONY: all clean debug
# include config file if it exists
-include $(CURDIR)/config.mk
all: restic
debug: restic.debug
restic: $(wildcard *.go) $(wildcard ../../*.go) $(wildcard ../../*/*.go)
go build -a
restic.debug: $(wildcard *.go) $(wildcard ../../*.go) $(wildcard ../../*/*.go)
go build -a -tags debug -o restic.debug
clean:
go clean
rm -f restic restic.debug