-
Notifications
You must be signed in to change notification settings - Fork 71
/
clean.bat
27 lines (23 loc) · 971 Bytes
/
clean.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
settings@echo off
echo -----------------------------------
echo clean project/coide_gen/rvmdk/ewarm
@for /r . %%a in (.) do (
@if exist "%%a\coide_gen" rd /s /q "%%a\coide_gen"
@if exist "%%a\Debug_Flash" rd /s /q "%%a\Debug_Flash"
@if exist "%%a\Debug_Ram" rd /s /q "%%a\Debug_Ram"
@if exist "%%a\Output" rd /s /q "%%a\Output"
@if exist "%%a\Flash" rd /s /q "%%a\Flash"
@if exist "%%a\Debug" rd /s /q "%%a\Debug"
@if exist "%%a\settings" rd /s /q "%%a\settings"
@if exist "%%a\ewarm\settings" rd /s /q "%%a\ewarm\settings"
@if exist "%%a\Release" rd /s /q "%%a\Release"
@if exist "%%a\*.dep" del /q "%%a\*.dep"
@if exist "%%a\obj" rd /s /q "%%a\obj"
@if exist "%%a\lst" rd /s /q "%%a\lst"
@if exist "%%a\*.uvgui.*" del /q "%%a\*.uvgui.*"
@if exist "%%a\*.bak" del /q "%%a\*.bak"
@if exist "%%a\*.o" del /q "%%a\*.o"
@if exist "%%a\*.d" del /q "%%a\*.d"
)
@echo completed
echo -----------------------------------