help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnu make to write source version, extra info into every source file


From: Russell King
Subject: gnu make to write source version, extra info into every source file
Date: Mon, 7 Jan 2008 10:38:20 -0500

How do you get this kind of info into every source file (see below), when using gnu make, with -D flags?  What need to be defined in GNU Makefile and how the variable flags need to be set into source file?  Example showing how to do it in make file and corresponding example for the source would be grateful.

### $Id: start.src,v 1 2008/1/7 2:2:35 da Exp $
### $Source: /cvsroot/some.src,v $
### $Revision: 1 $
### $Date: 2008/1/7 2:2:35 $
### $State: Exp $

Thank you.
Russ

reply via email to

[Prev in Thread] Current Thread [Next in Thread]