This repository is as part of tool suite bitkub_crypto_tools.
It is aimed to be linked statically (but also possible for shared library) with other tools as those will reuse code in this repository.
The general approach is to
- create
bitkub
directory - clone all sub-tools into
bitkub
directory - then respectively build each tool starting with
bitkub_commonlib
first before others
The following are targets available for Makefile
static-debug
static-release
all
(default)
You just execute the following command
make
- this will build with both targetstatic-debug
andstatic-release
, output intobin/debug
andbin/release
respectivelymake static-debug
- no optimization level applied when compile, suitable for debugging purposemake static-release
- build with optimization level 2, suitale for production use
For now, this project is small and recommended to build as statically shared library. In the future, we might add support for dynamically shared library.
Other sub-tools (mostly) will depend on this project, and its Makefile
should build a single target either against debug, or release version of this project.
Thus it should specify the proper include directory, and link against the correct library file as output inside bin/
directory.
Use make clean
to clean all intermediate built files.
This tool suite is created independently without warranty. As well as please be advised and do your due diligent before investing, it has risk involved. Author and contributors altogether are not responsible to any results done from using the tools.
GPLv2, see LICENSE. Wasin Thonkaew