bf5863fcb1
- 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.
12 lines
158 B
Bash
Executable File
12 lines
158 B
Bash
Executable File
#!/bin/sh
|
|
|
|
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
|
|
|
|
if [ "$OS" = "linux" ]; then
|
|
MK_FILE="gmake.mk"
|
|
else
|
|
MK_FILE="bmake.mk"
|
|
fi
|
|
|
|
make -f "$MK_FILE" "$@"
|