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:
2026-01-11 17:55:47 +01:00
parent 888e6d5f72
commit bf5863fcb1
6 changed files with 107 additions and 74 deletions
+11
View File
@@ -0,0 +1,11 @@
SRC_DIR = src
INC_DIR = include
OBJ_DIR = obj
BIN_DIR = bin
LIB_NAME = stk
SRCS = src/module.c \
src/platform.c \
src/stk.c \
src/stk_log.c