clean+install in one invocation wiped the release build before install ran. install now has a real release prerequisite so make's own dependency graph handles rebuilds regardless of target order; the redundant manual pre-build in build.sh/build.bat is removed.
19 lines
288 B
Batchfile
19 lines
288 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 if "%1"=="run_gl" (
|
|
if "%2"=="" (
|
|
make -f gmake.mk run_gl MODE=debug
|
|
) else (
|
|
make -f gmake.mk run_gl MODE=%2
|
|
)
|
|
) else (
|
|
make -f gmake.mk %*
|
|
)
|