echo off
@echo ===== Delete unused files =====

@echo ##### for Borland #####
@if exist *.bak del *.bak
@if exist *.~* del *.~*
@if exist *.obj del *.obj
@if exist *.obr del *.obr
@if exist *.res del *.res
@if exist *.rws del *.rws
@if exist *.csm del *.csm
@if exist *.ilc del *.ilc
@if exist *.ild del *.ild
@if exist *.ilf del *.ilf
@if exist *.ils del *.ils
@if exist *.mbt del *.mbt
@if exist *.mrt del *.mrt
@if exist *.r$p del *.r$p
@if exist *.tds del *.tds

@echo ##### for VxD #####
@if exist *.map del *.map
@if exist *.pel del *.pel

@echo ##### for Delphi ####
@if exist *.dcu del *.dcu

@echo ##### for MSV #####
@if exist *.ilk del *.ilk
@if exist *.pdb del *.pdb
@if exist *.plg del *.plg
@if exist *.idb del *.idb

@echo ##### Work complete #####
