diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-12-10 08:33:23 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-12-10 08:33:27 +0800 |
commit | 6b6432f86311d22f8595cc44f32075cdff390fcf (patch) | |
tree | 1130467401eb9a9821ab08187a13f29c654c89e4 /Makefile | |
parent | 6004f31f3bc7c70f2112e592f91f3367c98d73d6 (diff) | |
download | dexon-mcl-6b6432f86311d22f8595cc44f32075cdff390fcf.tar.gz dexon-mcl-6b6432f86311d22f8595cc44f32075cdff390fcf.tar.zst dexon-mcl-6b6432f86311d22f8595cc44f32075cdff390fcf.zip |
change size_t to mclSize of bn.h for JS
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -106,7 +106,7 @@ $(MCL_SLIB): $(LIB_OBJ) $(BN256_LIB): $(BN256_OBJ) $(AR) $@ $(BN256_OBJ) -$(SHE256_OBJ) : src/she_c256.cpp src/she_c_impl.hpp include/mcl/she.h +$(SHE256_OBJ) : src/she_c256.cpp src/she_c_impl.hpp include/mcl/she.h include/mcl/bn.h $(SHE256_LIB): $(SHE256_OBJ) $(AR) $@ $(SHE256_OBJ) @@ -209,7 +209,7 @@ test: $(TEST_EXE) @sh -ec 'for i in $(TEST_EXE); do $$i|grep "ctest:name"; done' > result.txt @grep -v "ng=0, exception=0" result.txt; if [ $$? -eq 1 ]; then echo "all unit tests succeed"; else exit 1; fi -EMCC_OPT=-I./include -I./src -I../cybozulib/include +EMCC_OPT=-I./include -I./src -I../cybozulib/include -Wall -Wextra EMCC_OPT+=-O3 -DNDEBUG -DMCLBN_FP_UNIT_SIZE=4 -DMCL_MAX_BIT_SIZE=256 -DMCLSHE_WIN_SIZE=8 EMCC_OPT+=-s WASM=1 -s DISABLE_EXCEPTION_CATCHING=0 -s NO_EXIT_RUNTIME=1 -s MODULARIZE=1 JS_DEP=src/fp.cpp src/she_c256.cpp src/she_c_impl.hpp include/mcl/she.hpp Makefile |