clean up Makefile

This commit is contained in:
Alexander Neumann 2015-08-20 19:05:19 +02:00
parent 0cdbde1bd0
commit 7ebf5397a3
1 changed files with 1 additions and 11 deletions

View File

@ -1,22 +1,12 @@
.PHONY: all clean test
SOURCE=$(wildcard *.go) $(wildcard */*.go) $(wildcard */*/*.go)
export GOPATH GOX_OS
all: restic
restic: $(SOURCE)
go run build.go
restic.debug: $(SOURCE)
go run build.go -tags debug
clean:
rm -rf restic restic.debug
rm -rf restic
test: $(SOURCE)
go run run_tests.go /dev/null
all.cov: $(SOURCE)
go run run_tests.go all.cov