%% Boris Kolpackov <[EMAIL PROTECTED]> writes:
bk> "Paul D. Smith" <[EMAIL PROTECTED]> writes:
>> %% thirunadh rao <[EMAIL PROTECTED]> writes:
>>
tr> Can gmake search for "makefile" based on VPATH
>>
>> No. Makefiles are searched for only in directories specified with the
>> -I option.
bk> Even -I won't help him/her to do what he/she wants since only included
bk> makefiles are searched in -I-directories. What the original poster
bk> wanted is to be able to have let's say /tmp/makefile and then
bk> $ make -I /tmp
Ah, good point; I didn't see that. Correct, nothing like that will work.
However, you can do this:
$ export MAKEFILES=/tmp/makefile
...
$ make
Not quite the same thing but perhaps it's helpful.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"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