flatten 20260225
This commit is contained in:
10
resources/packages/basisu/Makefile.project
Executable file
10
resources/packages/basisu/Makefile.project
Executable file
@@ -0,0 +1,10 @@
|
||||
include $(MAKEDIR)/Makefile.base
|
||||
|
||||
INCPATH :=
|
||||
LIBFILE := libbasisu.a
|
||||
_FLAGS := $(_FLAGS)
|
||||
COPYTO := ../../sdk/lib
|
||||
|
||||
PROJECTS := transcoder
|
||||
|
||||
include $(MAKEDIR)/Makefile.lib
|
||||
23
resources/packages/basisu/prepare
Executable file
23
resources/packages/basisu/prepare
Executable file
@@ -0,0 +1,23 @@
|
||||
set -x
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
mkdir -p sdk/include
|
||||
|
||||
LIB=basisu
|
||||
|
||||
mkdir $LIB
|
||||
pushd $LIB
|
||||
git clone --depth 1 https://github.com/BinomialLLC/basis_universal --branch v1_60
|
||||
pushd basis_universal
|
||||
cp $DIR/Makefile.project .
|
||||
ln -s $DIR/../../Makefile-template Makefile
|
||||
|
||||
make
|
||||
popd
|
||||
popd
|
||||
|
||||
pushd sdk/include
|
||||
ln -fs ../../$LIB/basis_universal/transcoder basisu
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user