[Top][All Lists]

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

Re: Initialization targets

From: Paul Smith
Subject: Re: Initialization targets
Date: Wed, 16 Jan 2008 10:19:38 -0500

On Wed, 2008-01-16 at 13:14 -0200, Rafael Garabato wrote:
> If I do make all , make dep1, or make dep2; what I want is that the
> "always" target be executed at the begining before any other target.

Not as such.  The only way to do that is to make it a prerequisite of
every target.

However, if you just want some scripting executed every time make
starts, you can use:

  _dummy := $(shell <some scripting>)

See the GNU make manual.

 Paul D. Smith <address@hidden>       
 "Please remain calm--I may be mad, but I am a professional."--Mad Scientist

reply via email to

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