Build restructure top level

This commit is contained in:
Harshavardhana
2014-12-01 14:45:50 -08:00
parent c2b52590ee
commit 6e4583ef1d
2 changed files with 20 additions and 10 deletions

View File

@@ -1,11 +1,19 @@
all: build test
.PHONY: all
test:
@godep go test
test: test-race test-cover
test-race:
@godep go test -race
test-cover:
@godep go test -coverprofile=cover.out
isal/isal-l.a:
@$(MAKE) --quiet -C isal lib
@$(MAKE) -C isal lib
build: isal/isal-l.a
@godep go build
clean:
@rm -v cover.out