diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-10-25 16:17:55 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-10-25 16:17:55 +0800 |
commit | d1ab8affd173fda11be9f1018915f9cb7429772d (patch) | |
tree | 6e60f40d220aadfb78b4ada3ed019ffdfa2d62df /Makefile | |
parent | 066af2461132a6f867e863e7fb3dd590fa38de04 (diff) | |
download | dexon-bls-d1ab8affd173fda11be9f1018915f9cb7429772d.tar dexon-bls-d1ab8affd173fda11be9f1018915f9cb7429772d.tar.gz dexon-bls-d1ab8affd173fda11be9f1018915f9cb7429772d.tar.bz2 dexon-bls-d1ab8affd173fda11be9f1018915f9cb7429772d.tar.lz dexon-bls-d1ab8affd173fda11be9f1018915f9cb7429772d.tar.xz dexon-bls-d1ab8affd173fda11be9f1018915f9cb7429772d.tar.zst dexon-bls-d1ab8affd173fda11be9f1018915f9cb7429772d.zip |
[js] refactor bls.js
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |