2022-07-07 13:11:45 +00:00
|
|
|
.PHONY: rlnlib-cross
|
2021-09-13 14:42:26 +00:00
|
|
|
|
2022-07-04 17:01:54 +00:00
|
|
|
SHELL := bash # the shell used internally by Make
|
|
|
|
|
|
|
|
GOBIN ?= $(shell which go)
|
|
|
|
|
|
|
|
rlnlib-cross:
|
|
|
|
scripts/build-cross.sh
|
|
|
|
cd lib/rln && cbindgen --config ../cbindgen.toml --crate rln --output ../../rln/librln.h --lang c
|
|
|
|
|
2021-09-13 11:37:42 +00:00
|
|
|
rlnlib:
|
2022-07-04 17:01:54 +00:00
|
|
|
scripts/build.sh
|
2021-09-13 21:19:40 +00:00
|
|
|
cd lib/rln && cbindgen --config ../cbindgen.toml --crate rln --output ../../rln/librln.h --lang c
|
2022-07-04 17:01:54 +00:00
|
|
|
|
|
|
|
test:
|
2022-07-07 13:11:45 +00:00
|
|
|
go test ./... -count 1 -v
|