diff --git a/.forgejo/workflows/construct.yaml b/.forgejo/workflows/construct.yaml index 9547de4..f9c3e27 100644 --- a/.forgejo/workflows/construct.yaml +++ b/.forgejo/workflows/construct.yaml @@ -17,9 +17,6 @@ jobs: apt install -y \ imagemagick wget - - name: fteqw - run: wget https://www.fteqw.org/dl/fteqw_linux64.zip && unzip fteqw_linux64.zip && chmod +x fteqw64 - - name: setup env run: | echo $PRIVATE_KEY > private-key.pem diff --git a/Makefile b/Makefile index fc02a7e..0d5b694 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,17 @@ + +ENGINE_URL=https://code.idtech.space/fte/fteqw +ENGINE_CLBUILD=m-dbg + all: list -list: +list: fteqw64 ./start.sh +fteqw64: + if [ ! -d ThirdParty/fteqw ];then mkdir -p ThirdParty; git clone --depth 1 $(ENGINE_URL) ThirdParty/fteqw;else cd ./ThirdParty/fteqw && git pull;fi + cd ThirdParty/fteqw/engine && $(MAKE) makelibs ARCH=x86_64 + cd ThirdParty/fteqw/engine && $(MAKE) $(ENGINE_CLBUILD) ARCH=x86_64 + install -m 0777 ./ThirdParty/fteqw/engine/debug/fteqw ./fteqw64 + index: ./index.sh