install already depends on release in gmake.mk/bmake.mk; the manual pre-build in the wrapper scripts was redundant and, combined with a clean target in the same invocation, didn't actually prevent clean from wiping the build before install ran.
13 lines
162 B
Batchfile
13 lines
162 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
if "%1"=="run" (
|
|
if "%2"=="" (
|
|
make -f gmake.mk run MODE=debug
|
|
) else (
|
|
make -f gmake.mk run MODE=%2
|
|
)
|
|
) else (
|
|
make -f gmake.mk %*
|
|
)
|