From d1ab8affd173fda11be9f1018915f9cb7429772d Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Wed, 25 Oct 2017 17:17:55 +0900 Subject: [js] refactor bls.js --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9889889..2cc1ae4 100644 --- a/Makefile +++ b/Makefile @@ -86,13 +86,13 @@ test_go: go/bls/bls.go go/bls/bls_test.go $(BLS384_SLIB) cd go/bls && ln -sf ../../lib . && env LD_RUN_PATH="../../lib" CGO_CFLAGS="-I../../include -I../../../mcl/include" CGO_LDFLAGS="-L../../lib -L../../../mcl/lib" go test $(MAC_GO_LDFLAGS) . EXPORTED_TXT=ffi/js/exported-bls.txt -EXPORTED_JS=docs/demo/exported-bls.js +EXPORTED_JS=docs/demo/exported-bls.json EXPORT_OPT=-re ffi/js/bls-re.txt $(EXPORTED_TXT): ./include/bls/bls.h ../mcl/include/mcl/bn.h python ../mcl/ffi/js/export-functions.py $(EXPORT_OPT) $^ > $@ $(EXPORTED_JS): ./include/bls/bls.h ../mcl/include/mcl/bn.h - python ../mcl/ffi/js/export-functions.py $(EXPORT_OPT) -js bls $^ > $@ + python ../mcl/ffi/js/export-functions.py $(EXPORT_OPT) -json $^ > $@ EXPORTED_BLS=$(shell cat $(EXPORTED_TXT)) -- cgit v1.2.3