init
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
all: json-privates json-points json-ecdsa
|
||||
|
||||
privates: privates.cpp shared.hpp
|
||||
g++ $< -L../native/secp256k1/.libs/ -lgmp -lsecp256k1 -o $@
|
||||
|
||||
points: points.cpp shared.hpp
|
||||
g++ $< -L../native/secp256k1/.libs/ -lgmp -lsecp256k1 -o $@
|
||||
|
||||
ecdsa: ecdsa.cpp shared.hpp
|
||||
g++ $< -L../native/secp256k1/.libs/ -lgmp -lcrypto -lssl -lsecp256k1 -o $@
|
||||
|
||||
clean:
|
||||
rm privates points ecdsa
|
||||
|
||||
json-points: points
|
||||
./points | jq . > ../tests/fixtures/points.json
|
||||
|
||||
json-privates: privates
|
||||
./privates | jq . > ../tests/fixtures/privates.json
|
||||
|
||||
json-ecdsa: ecdsa
|
||||
./ecdsa | jq . > ../tests/fixtures/ecdsa.json
|
||||
Reference in New Issue
Block a user