2017-12-11 19:08:18 -05:00
|
|
|
curve25519_generate.js: src/curve25519_generate.c src/glue.js
|
2018-01-22 12:11:32 -05:00
|
|
|
emcc -O2 --memory-init-file 0 --closure 1 --post-js src/glue.js -s 'EXTRA_EXPORTED_RUNTIME_METHODS=["Pointer_stringify"]' -o $@ src/curve25519_generate.c
|
2017-12-11 19:08:18 -05:00
|
|
|
clean:
|
|
|
|
rm -f curve25519_generate.js
|
|
|
|
all: curve25519_generate.js
|
|
|
|
.PHONY: clean all
|