1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 12:58:13 +00:00

add npm install to emscripten Makefile

This commit is contained in:
Jan Pochyla 2015-06-17 00:06:53 +02:00 committed by Pavol Rusnak
parent 3f4e50ba22
commit da0a2f8662
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -7,11 +7,14 @@ EMFLAGS = \
SRC = ../bignum.c ../ecdsa.c ../secp256k1.c ../hmac.c ../bip32.c \
../base58.c ../ripemd160.c ../sha2.c ../rand.c
test: trezor-crypto.js
test: node_modules trezor-crypto.js
node test.js
trezor-crypto.js: $(SRC)
emcc $(EMFLAGS) -o $@ $^
node_modules:
npm install
clean:
rm -f trezor-crypto.js