# Force a file to always re-build?

**URL:** <https://forum.sierrawireless.com/t/force-a-file-to-always-re-build/511>\
**Category:** Development tools\
**Created:** [June 13, 2006, 10:36am UTC](https://forum.sierrawireless.com/t/force-a-file-to-always-re-build/511 "2006-06-13T10:36:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [June 13, 2006, 10:36am UTC](https://forum.sierrawireless.com/t/force-a-file-to-always-re-build/511/1 "2006-06-13T10:36:54Z")

</div>

Is there a way to force a source file to be re-compiled every time the project is built, even if the file has not changed?

In UNIX terms, ‘touch’ the file at the start of every build.

(This is useful to give a build timestamp by using the **DATE** and **TIME** macros).
