Please send all questions to the mailing list, rather than emailing me
personally. Thanks!
On Wed, 2010-09-29 at 12:43 +0400, Alexander Kornilov wrote:
> 1) Are the special target which executed before all other target? It's
> maybe used for some initializations and preparing of build process
> (e.g. remove log files from previous build).
No. But you can fake it with the trick I mentioned in my last email,
using $(shell ...) in an immediate context:
__dummy := $(shell <whatever>)
Here, <whatever> will always be executed before any rule is attempted.
You can leave out the variable assignment if you're sure the script will
not generate any output to stdout.
> 2) Are the special target which executed when error was occurred? It's
> maybe helpful to display detailed log when error was occurred while
> compilation.
No.
--
-------------------------------------------------------------------------------
Paul D. Smith <[email protected]> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make