aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-09-11 09:14:24 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-09-11 09:14:24 +0800
commit704103938171a1e7e3190cf38172193f8749afff (patch)
tree3d0a75bedc673014abfbf0b8b93b62fcc3aec7fe /Makefile
parent6be5bb91802bc6ba935561b24e52dc90b5c8855f (diff)
downloaddexon-bls-704103938171a1e7e3190cf38172193f8749afff.tar
dexon-bls-704103938171a1e7e3190cf38172193f8749afff.tar.gz
dexon-bls-704103938171a1e7e3190cf38172193f8749afff.tar.bz2
dexon-bls-704103938171a1e7e3190cf38172193f8749afff.tar.lz
dexon-bls-704103938171a1e7e3190cf38172193f8749afff.tar.xz
dexon-bls-704103938171a1e7e3190cf38172193f8749afff.tar.zst
dexon-bls-704103938171a1e7e3190cf38172193f8749afff.zip
rename bls.js to bls_c.js
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d9b9c35..d256e7b 100644
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,7 @@ $(EXPORTED_JS): ./include/bls/bls.h ../mcl/include/mcl/bn.h
EXPORTED_BLS=$(shell cat $(EXPORTED_TXT))
-docs/demo/bls.js: src/bls_c.cpp ../mcl/src/fp.cpp $(EXPORTED_TXT) $(EXPORTED_JS)
+docs/demo/bls_c.js: src/bls_c.cpp ../mcl/src/fp.cpp $(EXPORTED_TXT) $(EXPORTED_JS)
emcc -o $@ src/bls_c.cpp ../mcl/src/fp.cpp -I./ -I./include -I../cybozulib/include -I../mcl/include -s WASM=1 -s "MODULARIZE=1" -s "EXPORTED_FUNCTIONS=[$(EXPORTED_BLS)]" -O3 -DNDEBUG -DMCLBN_FP_UNIT_SIZE=6 -DMCL_MAX_BIT_SIZE=384 -DDISABLE_EXCEPTION_CATCHING=2
clean: