89b983fa22
We also reduce the optimization level, just in case, but add closure compiler into the mix. Suggested-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
7 lines
242 B
Makefile
7 lines
242 B
Makefile
curve25519_generate.js: src/curve25519_generate.c src/glue.js
|
|
emcc -O2 --memory-init-file 0 --closure 1 --post-js src/glue.js -o $@ src/curve25519_generate.c
|
|
clean:
|
|
rm -f curve25519_generate.js
|
|
all: curve25519_generate.js
|
|
.PHONY: clean all
|