flatten 20260225
This commit is contained in:
10
resources/packages/_empty/Makefile.project
Executable file
10
resources/packages/_empty/Makefile.project
Executable file
@@ -0,0 +1,10 @@
|
||||
include $(MAKEDIR)/Makefile.base
|
||||
|
||||
LIBFILE := libempty.a
|
||||
COPYTO := ../../sdk/lib
|
||||
|
||||
PROJECTS := .
|
||||
|
||||
include $(MAKEDIR)/Makefile.lib
|
||||
|
||||
|
||||
1
resources/packages/_empty/empty.cpp
Normal file
1
resources/packages/_empty/empty.cpp
Normal file
@@ -0,0 +1 @@
|
||||
void empty() {}
|
||||
29
resources/packages/_empty/prepare
Executable file
29
resources/packages/_empty/prepare
Executable file
@@ -0,0 +1,29 @@
|
||||
set -x
|
||||
|
||||
if [ -d "_empty" ]; then
|
||||
echo "_empty does exists already"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkdir -p sdk/include
|
||||
|
||||
LIB=_empty
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
mkdir _empty
|
||||
pushd _empty
|
||||
|
||||
mkdir $LIB
|
||||
|
||||
cp -av $DIR/Makefile.* $LIB/
|
||||
cp -av $DIR/*.cpp $LIB/
|
||||
$DIR/../../prepare-template-just-makefile $LIB $DIR
|
||||
|
||||
pushd $LIB
|
||||
make
|
||||
popd
|
||||
|
||||
popd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user