1@ECHO OFF
2ECHO INFO: Cleaning %CD%...
3%AZRTOS_GHS_COMP_GBUILD% -top azure_rtos_workspace.gpj -clean tx.a txe.a sample_threadx sample_threadx_el
4IF %ERRORLEVEL% NEQ 0 (
5 ECHO ERROR: clean failed.
6 EXIT /B 1
7)
8RMDIR /Q /S libs
9DEL /Q /F test.log
10ECHO INFO: Clean completed successfully!
11