help-make
[Top][All Lists]
Advanced

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

GNU Make: check if a file or directory exists


From: Jim
Subject: GNU Make: check if a file or directory exists
Date: Fri, 05 May 2006 14:43:28 -0400
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

Hello,

Is there a way I can check myself for the existence of a file or directory in make and provide specific error message for my users?

For example if the user calls:
   make build_vxworks

I would like a message that says:
You have not generated source code for any vxworks targets. Please ... blah blah blah ...

I hope this makes sense ... I am digging thru examples but not finding what i need ...

Cheers,

Jim




reply via email to

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