build: implement platform-agnostic build system
- Split Makefile into gmake.mk (Linux/Windows) and bmake.mk (BSD/macOS) - Added config.mk for shared variables. - Added build.sh and build.bat dispatchers. - Retains old build behavior with dependency tracking.
This commit is contained in: