forked from Panda381/PicoLibSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_d1.bat
More file actions
23 lines (19 loc) · 627 Bytes
/
_d1.bat
File metadata and controls
23 lines (19 loc) · 627 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
rem Delete temporary files of one project
rem Command to setup target project name (i.e. name of output file).
rem This command is located in d.bat file.
rem set TARGET=HELLOW
if exist build\%TARGET%.elf del build\%TARGET%.elf
if exist build\*.elf goto nobuild
if not exist build\*.o goto nobuild
del build\*.o
rd /q build
:nobuild
if exist %TARGET%.hex del %TARGET%.hex
if exist %TARGET%.lst del %TARGET%.lst
if exist %TARGET%.map del %TARGET%.map
if exist %TARGET%.siz del %TARGET%.siz
if exist %TARGET%.sym del %TARGET%.sym
if exist %TARGET%.bin del %TARGET%.bin
if exist %TARGET%.uf2 del %TARGET%.uf2
:end