@rem echo off
@rem --- General ---
cd ..
del *.~* *.obj *.o *.tds *.dcu *.ddp *.opt *.ncb *.suo *.plg *.aps *.user *.win *.layout /Q /S
del *.~* *.obj *.o *.tds *.dcu *.ddp *.opt *.ncb *.suo *.plg *.aps *.user *.win *.layout /AH /Q /S
cd Release

@rem --- In Project files ---
cd ..\Project
del *.exe *.dll *.a *.lib *.exp *.zip *.7z /Q /S
del *.exe *.dll *.a *.lib *.exp *.zip *.7z /AH /Q /S
cd ..\Release

@rem MS Visual Studio specific ---
cd ..\Project
rmdir MSVC\Test\Release /Q /S
rmdir MSVC\Test\Release_Ansi /Q /S
rmdir MSVC\Library\Release /Q /S
rmdir MSVC\Library\Release_Ansi /Q /S
rmdir MSVC\Example\Release /Q /S
rmdir MSVC\Example\Release_Ansi /Q /S
cd ..\Release

@rem Release specific ---
del *Installer.exe *.zip *.gz *.bz2 *.lib *.dll *.exp *.a *.so *.7z /Q /S
