You can use VPATH variable, like:
VPATH := source_dir1 source_dir2 source_dir_N
or vpath directive, like:
vpath %.cpp source_dir1 source_dir2 source_dir_N
VPATH variable used for searching all sort of files, while vpath directive
work only for specified pattern.
BTW. You can read GNU Make manual - it described all those things. If you
don't like *.info format (like me :-), you can read manul online in HTML
form.
Vladimir
-----Original Message-----
From: Mayan Wise - Israel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 1:27 PM
To: '[EMAIL PROTECTED]'
Subject: RE: GNU make
Hi again
I have tried this but since my source files not in the same directory of the
obj files I tried to use some filename/text functions on the source path &
filename but no function seems to work.
Is there way to use those functions there? If not what other option is
there?
Thanks and thanks again
Mayan Wise
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make