flatten 20260225
This commit is contained in:
15
resources/packages-not-used/rudp/Makefile.project
Executable file
15
resources/packages-not-used/rudp/Makefile.project
Executable file
@@ -0,0 +1,15 @@
|
||||
_FLAGS := $(_FLAGS) -Wno-deprecated
|
||||
|
||||
include $(MAKEDIR)/Makefile.base
|
||||
|
||||
INCPATH := \
|
||||
$(timprepscius.core.include)
|
||||
|
||||
COPYTO := ../../sdk/lib
|
||||
|
||||
SRC_CPP := event.cpp, rudp.cpp
|
||||
|
||||
LIBFILE := librudp.a
|
||||
|
||||
include $(MAKEDIR)/Makefile.lib
|
||||
|
||||
25
resources/packages-not-used/rudp/prepare
Executable file
25
resources/packages-not-used/rudp/prepare
Executable file
@@ -0,0 +1,25 @@
|
||||
mkdir -p sdk/include
|
||||
|
||||
LIB=rudp
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
mkdir $LIB
|
||||
pushd $LIB
|
||||
|
||||
git clone https://github.com/timprepscius/rudp.git
|
||||
|
||||
cp -av $DIR/Makefile.* $LIB/
|
||||
$DIR/../prepare-template-just-makefile $LIB $DIR
|
||||
|
||||
|
||||
pushd $LIB
|
||||
make
|
||||
popd
|
||||
|
||||
popd
|
||||
|
||||
pushd sdk/include
|
||||
ln -s ../../rudp/rudp
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user