Only for the include it's work if i add -e or --environment-overrides ( Environment variables override makefiles.)
Pushd "%PROJECT_PATH%/CodeBlocks/"
CALL "%MINGW_PATH%\bin\mingw32-make.exe" -f "%PROJECT_PATH%/CodeBlocks/MyCB.workspace.mak" -e -k
popd
It cannot build because cbp2make generate for each project LIB_RELEASE = $(LIB)-lLibrary0_d -lLibrary1_d -lLibrary2_d
and mingw32-make.exe generate this error : g++.exe: error: X:\MyLibPath\-lLibrary0_d: No such file or directory
remark : $(LIB) == X:\MyLibPath