From 04b3fcb479f5aaae06d18b315a8bdc8c298f4eae Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 5 Aug 2025 11:28:41 +0200 Subject: removed clustering --- build/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 build/Makefile (limited to 'build/Makefile') diff --git a/build/Makefile b/build/Makefile new file mode 100644 index 0000000..d77ff68 --- /dev/null +++ b/build/Makefile @@ -0,0 +1,45 @@ +# Main orchestrator Makefile for GlaMaC +# This file coordinates the modular build system + +# Include common configuration first +include common.mk + +# Include build modules +include native.mk +include cross-compile.mk +include dependencies.mk + +# Help system +help: + @echo "GlaMaC Build System" + @echo "" + @echo "Build targets:" + @echo " all - Build for current platform" + @echo " glamac - Build main application only" + @echo " glautils - Build utilities only" + @echo " clean - Clean build files" + @echo " rebuild - Clean and rebuild" +ifeq ($(PLATFORM),linux) + @echo "" + @echo "Cross-compilation (Linux → Windows):" + @echo " win - Build glamac for Windows" + @echo " win-all - Build everything for Windows" + @echo " setup-cross - Setup cross-compilation" +endif + @echo "" + @echo "Dependencies:" + @echo " deps - Install SDL3 dependencies" + @echo " clean-deps - Remove SDL3 dependencies" + @echo "" + @echo "Glass catalog conversion:" + @echo " convert-catalogs - Convert Excel files to JSON" + @echo "" + @echo "Quick start:" +ifeq ($(PLATFORM),linux) + @echo " make deps && make all # Native build" + @echo " make setup-cross && make win # Windows build" +else + @echo " Install SDL3, then: make all" +endif + +.PHONY: help \ No newline at end of file -- cgit v1.2.3