mirror of
https://github.com/status-im/keycard-go.git
synced 2025-02-01 22:56:03 +00:00
17 lines
369 B
Makefile
17 lines
369 B
Makefile
.PHONY: test
|
|
|
|
GOBIN=./build
|
|
|
|
deps:
|
|
go get -t ./...
|
|
|
|
test:
|
|
go test -v ./...
|
|
|
|
keycard-lib: ##@cross-compile Build keycard-go as static library for current platform
|
|
mkdir -p $(GOBIN)/libkeycard
|
|
@echo "Building static library..."
|
|
go build -buildmode c-shared -o $(GOBIN)/libkeycard/libkeycard.so ./cmd/lib
|
|
@echo "Static library built:"
|
|
@ls -la $(GOBIN)/libkeycard/*
|