help-make
[Top][All Lists]
Advanced

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

Re: How to check if a file exists?


From: Paul Smith
Subject: Re: How to check if a file exists?
Date: Tue, 20 May 2008 07:16:47 -0400

On Tue, 2008-05-20 at 01:29 -0700, Garrett Cooper wrote:
> Why not use wildcard instead?

You can't use make functions here, because they are all evaluated by
make BEFORE the command is invoked.  Hongliang wants to see whether the
file exists AFTER the command has run.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.us
 "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]