flatten 20260225
This commit is contained in:
22
resources/packages/astronomy/Makefile.project
Executable file
22
resources/packages/astronomy/Makefile.project
Executable file
@@ -0,0 +1,22 @@
|
||||
include $(MAKEDIR)/Makefile.base
|
||||
|
||||
PROJECTS := source/c
|
||||
|
||||
LIBFILE := libastronomy.a
|
||||
COPYTO := ../../sdk/lib
|
||||
|
||||
ifeq (Darwin,$(SYS_NAME))
|
||||
endif
|
||||
|
||||
ifeq (Linux,$(SYS_NAME))
|
||||
endif
|
||||
|
||||
ifeq (Android,$(SYS_NAME))
|
||||
endif
|
||||
|
||||
ifeq (iOS,$(SYS_NAME))
|
||||
endif
|
||||
|
||||
include $(MAKEDIR)/Makefile.lib
|
||||
|
||||
|
||||
26
resources/packages/astronomy/prepare
Executable file
26
resources/packages/astronomy/prepare
Executable file
@@ -0,0 +1,26 @@
|
||||
set -x
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
mkdir -p sdk/include
|
||||
|
||||
LIB=astronomy
|
||||
|
||||
pushd sdk/include
|
||||
rm astronomy
|
||||
ln -fs ../../$LIB/astronomy/source/c astronomy
|
||||
popd
|
||||
|
||||
mkdir $LIB
|
||||
pushd $LIB
|
||||
|
||||
git clone -b v2.1.19 https://github.com/cosinekitty/astronomy astronomy
|
||||
|
||||
cp -av $DIR/Makefile.project astronomy
|
||||
ln -s $DIR/../../Makefile-template astronomy/Makefile
|
||||
|
||||
pushd astronomy
|
||||
make
|
||||
popd
|
||||
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user