Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!ucbvax!tdisys.UUCP!mogenix From: mogenix@tdisys.UUCP (MOGENET) Newsgroups: comp.sys.sgi Subject: (none) Message-ID: <9012171853.AA11859@tdisys.uucp> Date: 17 Dec 90 20:53:58 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 33 Do you know make? Today, I read the make(1) man page, and discovered some small-documented feature I didn't know: VPATH. This variable allow you to specify some `extended' searching area for the dependancies. This means: When make doesn't find a needed file in the current directory, it searches it in the VPATH. Now could you, at sgi, tell me how I know in my make-commands where make found the dependancie ? More precisely, here's my problem: file foo.c is in .. VPATH=.. foo.o:foo.c cc -c $*.c make finds the foo.c in .., but the compiler doesn't, because the value of $* is still: foo. It should be ../foo ! Perhaps should'nt I use $*.c, but directly foo.c ? What about default rules then ? If someone has the turn-around, please email me at: mogenix%tdisys@inria.fr Thanks in advance, Mogenix!