Updated Makefile
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,7 +1,9 @@
|
|||||||
BLENDER = ../../blender-3.3.1-linux-x64/blender
|
BLENDER = ../../blender-4.3.2-linux-x64/blender
|
||||||
SERVER = src/godot/bin/godot_server.x11.opt.tools.64
|
SERVER = src/godot/bin/godot_server.x11.opt.tools.64
|
||||||
|
|
||||||
.PHONY: all godot-editor-main export export-models export-clothes export-clean export-linux-demo export-windows-demo export-binaries patch tests
|
.PHONY: all godot-editor-main export export-models export-clothes \
|
||||||
|
export-clean export-linux-demo export-windows-demo \
|
||||||
|
export-binaries patch tests import-vrm
|
||||||
all: godot-editor-main godot-main
|
all: godot-editor-main godot-main
|
||||||
ARCH=$(patsubst aarch64,arm64,$(shell uname -i))
|
ARCH=$(patsubst aarch64,arm64,$(shell uname -i))
|
||||||
godot-main: patch
|
godot-main: patch
|
||||||
@@ -23,13 +25,18 @@ export: export-models export-clothes
|
|||||||
rm -Rf godot/.import
|
rm -Rf godot/.import
|
||||||
|
|
||||||
export-clean:
|
export-clean:
|
||||||
|
rm -Rf godot/character-data/*
|
||||||
rm -f assets/blender/scripts/tmp-*.blend
|
rm -f assets/blender/scripts/tmp-*.blend
|
||||||
|
|
||||||
export-models: export-clean
|
import-vrm: export-clean
|
||||||
|
$(BLENDER) -b -Y -P assets/blender/scripts/import_vrm.py
|
||||||
|
|
||||||
|
export-models: export-clean import-vrm
|
||||||
$(BLENDER) -b -Y -P assets/blender/scripts/export_models.py
|
$(BLENDER) -b -Y -P assets/blender/scripts/export_models.py
|
||||||
|
|
||||||
export-clothes: export-clean
|
export-clothes: export-clean
|
||||||
$(BLENDER) -b -Y -P assets/blender/scripts/export_clothes.py
|
$(BLENDER) -b -Y -P assets/blender/scripts/export_clothes.py
|
||||||
|
|
||||||
export-binaries:
|
export-binaries:
|
||||||
mkdir -p export
|
mkdir -p export
|
||||||
$(SERVER) --path godot --export linux_demo ../export/office-demo-linux.x86_64
|
$(SERVER) --path godot --export linux_demo ../export/office-demo-linux.x86_64
|
||||||
|
|||||||
Reference in New Issue
Block a user