[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

822.0. "more Re: Help with kernel makefiles" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Mon Jul 11 1994 12:44

Date Of Receipt: 	30-JUN-1994 13:09:36.60
From: 	FLAMBE::jmf "Joshua M. Friedman OSF/UNIX SDE  30-Jun-1994 1308"
To: 	Fred Cassirer <[email protected]>
CC: 	[email protected]
Subj: 	more Re: Help with kernel makefiles

one more thing -

the way you specify "some other directory" is by setting the VPATH
variable.  you can look at an example in src/kernel/include/Makefile.

> a.c: ${some_other_directory}/a.c 

make automatically looks for any source file it knows about both in the
current directory, and along VPATH (first in your sandbox, then in
the backingtree(s) ).

-josh

T.RTitleUserPersonal
Name
DateLines