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.