2018-04-04 12:01:47 +04:00
|
|
|
(jbuild_version 1)
|
|
|
|
|
|
|
|
(library
|
2018-04-19 16:29:27 +04:00
|
|
|
((name libsecp256k1)
|
|
|
|
(public_name secp256k1)
|
2018-04-04 12:01:47 +04:00
|
|
|
(modules (internal external))
|
2018-04-19 19:10:45 +04:00
|
|
|
(libraries (bigstring cstruct))
|
2018-04-04 12:01:47 +04:00
|
|
|
(c_names (secp256k1
|
|
|
|
secp256k1_wrap))
|
|
|
|
(c_flags (:include c_flags.sexp))
|
|
|
|
(c_library_flags (-lgmp))))
|
|
|
|
|
|
|
|
(rule
|
|
|
|
((targets (c_flags.sexp))
|
|
|
|
(deps (../config/discover.exe))
|
|
|
|
(action (run ${<} -ocamlc ${OCAMLC}))))
|