[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (automake) How do I force an object file to be rebuilt every time?
From: |
Daniel Leidert |
Subject: |
Re: (automake) How do I force an object file to be rebuilt every time? |
Date: |
Sun, 02 Nov 2008 13:03:26 +0100 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: (automake) How do I force an object file to be rebuilt every time?,
Daniel Leidert <=