[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Adding date/version information to project??
From: |
Matt.VanDeWerken |
Subject: |
[avr-gcc-list] Adding date/version information to project?? |
Date: |
Tue, 29 Nov 2005 14:20:28 +1000 |
Hi all:
I am looking for an automated way to update a static string in program
space when my project is built. Is there an easy way to do this, either
by adding an extra target to the makefile, or some other way? I'd prefer
not to manually have to change the information, and I'd also prefer for
it to NOT change when none of the other source files change. That is,
the requirement is as follows:
1. The date/other information is changed when a build occurs, ie "make"
or "make all" or "make target" - basically anything which calls the
linker; maybe the clue is there.
2. The date/other info is NOT changed when a build does not occur. Eg,
"make program" causes no change in the string if the linker is not
called, nor does it change if the target is up to date already.
3. I know all this can be done using CVS/SVN $Id$ tags, but I don't have
a cvs/svn server here at work, and I don't want to go through the hassle
of setting one up in this windows-only shop. I also know that I should
be using version control here...
Any ideas??
Cheers,
Matthew van de Werken - Electronics Engineer
CSIRO E&M - Rock Mass Characterisation - 1 Technology Court - Pullenvale
- 4069
p: (07) 3327 4142 * f: (07) 3327 4455 * e: address@hidden
"We do not inherit the earth from our ancestors, we borrow it from our
children."
-- Native American Proverb
- [avr-gcc-list] Adding date/version information to project??,
Matt.VanDeWerken <=
- Re: [avr-gcc-list] Adding date/version information to project??, Russell Shaw, 2005/11/28
- Re: [avr-gcc-list] Adding date/version information to project??, John Altstadt, 2005/11/28
- Re: [avr-gcc-list] Adding date/version information to project??, David Kelly, 2005/11/29
- Re: [avr-gcc-list] Adding date/version information to project??, Anton Erasmus, 2005/11/29
- Re: [avr-gcc-list] Adding date/version information to project??, Bruce D. Lightner, 2005/11/29
- Re: [avr-gcc-list] Adding date/version information to project??, Bruce D. Lightner, 2005/11/29