aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-04-19 07:25:04 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-04-19 07:25:04 +0800
commitd8848ee4a10166bdbff9596f6c3d5c57e0f2a7fc (patch)
treefd28e7ab8e32503df45300361073fbfc2998e0a6 /Makefile
parented7b141f6ef2701712becc59d6e987b1ab6a1785 (diff)
downloaddexon-bls-d8848ee4a10166bdbff9596f6c3d5c57e0f2a7fc.tar
dexon-bls-d8848ee4a10166bdbff9596f6c3d5c57e0f2a7fc.tar.gz
dexon-bls-d8848ee4a10166bdbff9596f6c3d5c57e0f2a7fc.tar.bz2
dexon-bls-d8848ee4a10166bdbff9596f6c3d5c57e0f2a7fc.tar.lz
dexon-bls-d8848ee4a10166bdbff9596f6c3d5c57e0f2a7fc.tar.xz
dexon-bls-d8848ee4a10166bdbff9596f6c3d5c57e0f2a7fc.tar.zst
dexon-bls-d8848ee4a10166bdbff9596f6c3d5c57e0f2a7fc.zip
BN:: is not necessary now
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a1b014b..9257168 100644
--- a/Makefile
+++ b/Makefile
@@ -93,6 +93,9 @@ JS_DEP=src/bls_c.cpp ../mcl/src/fp.cpp Makefile
../bls-wasm/bls_c.js: $(JS_DEP)
emcc -o $@ src/bls_c.cpp ../mcl/src/fp.cpp $(EMCC_OPT) -s "MODULARIZE=1"
+bls-wasm:
+ $(MAKE) ../bls-wasm/bls_c.js
+
clean:
$(RM) $(BLS_LIB) $(OBJ_DIR)/*.d $(OBJ_DIR)/*.o $(EXE_DIR)/*.exe $(GEN_EXE) $(ASM_SRC) $(ASM_OBJ) $(LIB_OBJ) $(LLVM_SRC) $(BLS384_SLIB)