You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
289 B
20 lines
289 B
10 years ago
|
all: build test
|
||
|
.PHONY: all
|
||
|
|
||
10 years ago
|
SYSTEM_NAME := $(shell uname -s)
|
||
|
|
||
10 years ago
|
test:
|
||
|
@godep go test -race -coverprofile=cover.out
|
||
10 years ago
|
|
||
10 years ago
|
isal/isal-l.a:
|
||
10 years ago
|
ifeq ($(SYSTEM_NAME), Darwin)
|
||
|
@$(MAKE) -C isal arch=osx lib
|
||
|
else
|
||
10 years ago
|
@$(MAKE) -C isal lib
|
||
10 years ago
|
endif
|
||
10 years ago
|
build: isal/isal-l.a
|
||
10 years ago
|
@godep go build
|
||
10 years ago
|
|
||
|
clean:
|
||
|
@rm -v cover.out
|