%% "Kenneth Chao" <[EMAIL PROTECTED]> writes:
kc> i wrote a makefile that runs perfectly on my NT system, using
kc> version 3.77 version of gnu make for win32 systems. i then
kc> brought it over to a solaris system that also has 3.77 of gnu
kc> make, but i encountered problems. i'm almost postive it has
kc> something to do with the VPATH directive, because on the solaris
kc> system it never looks for implicit dependencies. i have included
kc> my makefile. can you please help?
In general, we can't just debug a while makefile. It's best if you try
to reproduce the problem with a small sample makefile, then provide the
makefile, a cut/paste of the erroneous output you got, and why you think
it's wrong.
However, in this case your problem is obvious. I quote from the GNU
make manual section "`VPATH': Search Path for All Prerequisites":
In the `VPATH' variable, directory names are separated by colons or
blanks. The order in which directories are listed is the order followed
by `make' in its search. (On MS-DOS and MS-Windows, semi-colons are
used as separators of directory names in `VPATH', since the colon can
be used in the pathname itself, after the drive letter.)
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.ultranet.com/~pauld/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist