diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-12-12 01:08:18 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-12-12 01:18:30 +0100 |
commit | 037c389f2f09f721ecc84105b0d5d0ca8824c070 (patch) | |
tree | a9e2aabd9a92235ca438f18bac5633ea20094c04 /contrib/examples/keygen-html/Makefile | |
parent | version: bump snapshot (diff) | |
download | wireguard-monolithic-historical-037c389f2f09f721ecc84105b0d5d0ca8824c070.tar.xz wireguard-monolithic-historical-037c389f2f09f721ecc84105b0d5d0ca8824c070.zip |
keygen-html: remove prebuilt file
We also reduce the optimization level, just in case, but add closure
compiler into the mix.
Suggested-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'contrib/examples/keygen-html/Makefile')
-rw-r--r-- | contrib/examples/keygen-html/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/examples/keygen-html/Makefile b/contrib/examples/keygen-html/Makefile new file mode 100644 index 0000000..0902275 --- /dev/null +++ b/contrib/examples/keygen-html/Makefile @@ -0,0 +1,6 @@ +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 |