tomcrypt/create_build.sh

9 lines
368 B
Bash
Raw Normal View History

#!/usr/bin/env bash
[[ -z "${tommath_library}" ]] && tommath_library="$(pwd)/../tommath/build/libtommathStatic.a"
[[ -z "${tommath_include}" ]] && tommath_include="../tommath/"
make -f makefile clean
CFLAGS="-fPIC -DUSE_LTM -DLTM_DESC -I${tommath_include}" make -f makefile EXTRALIBS="${tommath_library}"
make PREFIX=./out/${build_os_type}_${build_os_arch}/ install