<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="ShowFiles">
  <ItemGroup>
    <FilesToDelete Include="**\*.dcu"/>
	<FilesToDelete Include="**\*.dcp"/>
	<FilesToDelete Include="**\*.map"/>
	<FilesToDelete Include="**\*.dsk"/>
	<FilesToDelete Include="**\*.~*"/>
	<FilesToDelete Include="**\*.bpl"/>
  </ItemGroup>

  <Target Name="CleanFiles">
    <Delete Files="@(FilesToDelete)" ContinueOnError="true" />
  </Target>

  <Target Name="ShowFiles">
    <Message Text="@(FilesToDelete)"/>
  </Target>
</Project>