flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 13:00:25 -05:00
commit b308a4c280
114 changed files with 14759 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
include $(MAKEDIR)/Makefile.base
PROJECTS := .
INCPATH := -I include
LIBFILE := libtommath.a
COPYTO := ../../sdk/lib
_FLAGS := $(_FLAGS)
include $(MAKEDIR)/Makefile.lib

View File

@@ -0,0 +1,28 @@
set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir -p sdk/include
LIB=tommath
mkdir $LIB
pushd $LIB
git clone --depth 1 https://github.com/libtom/libtommath.git
#--branch v1.2.0
cp -av $DIR/Makefile.project libtommath/
mv libtommath/makefile libtommath/makefile-no
ln -s $DIR/../../Makefile-template libtommath/Makefile
pushd libtommath
make
popd
popd
pushd sdk/include
ln -fs ../../tommath/libtommath tommath
cp $DIR/tommath.h .
popd

View File

@@ -0,0 +1 @@
#include "tommath/tommath.h"