diff --git a/system/extras/prebuild.bat b/system/extras/prebuild.bat index 506805b..f3f62c2 100644 --- a/system/extras/prebuild.bat +++ b/system/extras/prebuild.bat @@ -5,9 +5,10 @@ set BOARD_PLATFORM_PATH=%3 if not exist "%BUILD_PATH%\sketch" mkdir "%BUILD_PATH%\sketch" if not exist "%BUILD_SOURCE_PATH%\build_opt.h" ( - echo -e "-fmacro-prefix-map=\"%BOARD_PLATFORM_PATH:\=\\%\"=." > "%BUILD_PATH%\sketch\build.opt" + echo "\n-fmacro-prefix-map=\"%BOARD_PLATFORM_PATH:\=\\%\"=." > "%BUILD_PATH%\sketch\build.opt" ) else ( copy "%BUILD_SOURCE_PATH%\build_opt.h" "%BUILD_PATH%\sketch\build.opt" - echo -e "-fmacro-prefix-map=\"%BOARD_PLATFORM_PATH:\=\\%\"=." >> "%BUILD_PATH%\sketch\build.opt" + echo. >> "%BUILD_PATH%\sketch\build.opt" + echo "-fmacro-prefix-map=\"%BOARD_PLATFORM_PATH:\=\\%\"=." >> "%BUILD_PATH%\sketch\build.opt" ) echo #include ^ > "%BUILD_PATH%\sketch\SrcWrapper.cpp"