20 lines
289 B
Makefile
Raw Normal View History

all: build test
.PHONY: all
SYSTEM_NAME := $(shell uname -s)
test:
@godep go test -race -coverprofile=cover.out
2014-11-30 15:20:20 -08:00
isal/isal-l.a:
ifeq ($(SYSTEM_NAME), Darwin)
@$(MAKE) -C isal arch=osx lib
else
2014-12-01 14:45:50 -08:00
@$(MAKE) -C isal lib
endif
2014-11-30 15:20:20 -08:00
build: isal/isal-l.a
@godep go build
2014-12-01 14:45:50 -08:00
clean:
@rm -v cover.out