[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Passing command line variables
From: |
vishwas manral |
Subject: |
Passing command line variables |
Date: |
Sun, 11 Apr 2004 04:25:36 +0500 |
Forgot to mention the target OS is Linux.
---------------------------------
Hi,
I have made a simple make file. I try to run it using
make PATH=/home/swbuild/test <target name>
In the make file for the target the first rule I give is cp $(PATH)/*.c .
However doing that I get an error
cp /home/swbuild/test/*.c .
/bin/sh: line 1: cp: command not found
make: *** [<target name>] Error 127
I am not sure what could be wrong. Any help is greately appriciated.
Thanks,
Vishwas
____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10