Re: (automake) How do I force an object file to be rebuilt every time?
Daniel Leidert <[email protected]> Sun, 02 Nov 2008 13:03:26 +0100
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | TU Dresden |
| Message-ID | <1225627406.4118.5.camel@localhost> |
Am Donnerstag, den 30.10.2008, 13:34 -0700 schrieb Rich Fife: > Hi, > > I've got a project that includes a version number that needs to be > emitted on demand. I want to put that version number by itself in a > one line C file that other objects can link to (so the version can > change without having to rebuild any particular file). How do I get > that one file (version_globals.c) to rebuild every time a build is > called using configure.ac, makefile.am, etc? You can declare it as a .PHONY target: http://www.gnu.org/software/make/manual/make.html#Phony-Targets Regards, Daniel