On Wed, 2009-08-12 at 14:21 -0300, Leandro Lucarella wrote:
> I need to use .PHONY though, because the script should be executed always.
> If I don't, make call the ./gen_file just the first time, and then it
> never gets outdated in successive make calls.

You can't use .PHONY or make will go into an infinite loop, because
every time it starts it will build the out of date file, then re-exec,
then build the out-of-date file again and re-exec, etc. etc.

> I still can't find a way to do it, so any other ideas are welcome.

See my previous reply RE using $(shell ...)

-- 
-------------------------------------------------------------------------------
 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


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to