mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-12-11 21:21:32 +00:00
24 lines
480 B
Bash
24 lines
480 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# You don't need these to be built with the autoupdater, so here's a simple
|
||
|
# shell file to make them on a Mac.
|
||
|
|
||
|
export TFMDIR="tomsfastmath-0.13.1"
|
||
|
export LTCDIR="libtomcrypt-1.17"
|
||
|
|
||
|
function build {
|
||
|
clang -I $TFMDIR/src/headers -I $LTCDIR/src/headers -o "$1" -Wall -O3 "$1.c" rsa_common.c $LTCDIR/libtomcrypt.a $TFMDIR/libtfm.a
|
||
|
}
|
||
|
|
||
|
set -e
|
||
|
set -x
|
||
|
|
||
|
./build-libtom-unix.sh
|
||
|
build rsa_make_keys
|
||
|
build rsa_sign
|
||
|
build rsa_verify
|
||
|
|
||
|
set +x
|
||
|
echo "rsa_tools are compiled!"
|
||
|
|