您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Makefile 583B

12345678910111213141516171819202122
  1. all: json-privates json-points json-ecdsa
  2. privates: privates.cpp shared.hpp
  3. g++ $< -L../native/secp256k1/.libs/ -lgmp -lsecp256k1 -o $@
  4. points: points.cpp shared.hpp
  5. g++ $< -L../native/secp256k1/.libs/ -lgmp -lsecp256k1 -o $@
  6. ecdsa: ecdsa.cpp shared.hpp
  7. g++ $< -L../native/secp256k1/.libs/ -lgmp -lcrypto -lssl -lsecp256k1 -o $@
  8. clean:
  9. rm privates points ecdsa
  10. json-points: points
  11. ./points | jq . > ../tests/fixtures/points.json
  12. json-privates: privates
  13. ./privates | jq . > ../tests/fixtures/privates.json
  14. json-ecdsa: ecdsa
  15. ./ecdsa | jq . > ../tests/fixtures/ecdsa.json