tomcrypt/create_build.sh

9 lines
400 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
2019-07-02 15:45:47 -04:00
make -f makefile CFLAGS="-fPIC -DUSE_LTM -DLTM_DESC -I${tommath_include}" EXTRALIBS="${tommath_library}" VERBOSE=1 ${CMAKE_MAKE_OPTIONS}
make PREFIX=./out/${build_os_type}_${build_os_arch}/ install