# 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