This is the mail archive of the
cygwin
mailing list for the Cygwin project.
if construct doesn't work in makefile
- From: "Prasad, Kanuparthi" <Kanuparthi dot Prasad at teradyne dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Thu, 11 Nov 2004 11:15:32 -0000
- Subject: if construct doesn't work in makefile
Hi,
In my make file I am trying to check whether a directory exists or not
then set a path differently if doesn't exist.
I am using cygwin installed on windows 2000.
The if construct I have is as follows.
if test [-dc:/tools]; then DRIVE = c:/tools; else DRIVE = c:/altTools; fi
pls help me out.
Regards,
sitaram
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/