flatten 20260225
This commit is contained in:
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