[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

809.0. "make / build in source directories ??" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Tue Jun 21 1994 21:07

Date Of Receipt: 	20-JUN-1994 19:54:11.72
From: 	FLAMBE::"[email protected]" "20-Jun-1994 1652"
To: 	[email protected]
CC: 	
Subj: 	make / build in source directories ??

Hi There,

How can one cause make and/or build to refrain from changing directories
before executing any commands?  I tried setting my object_base to be the
same as the source_base, but that didn't help.

Thanks,
--steve

T.RTitleUserPersonal
Name
DateLines
809.1Re: make / build in source directories ??SMURF::FILTERAutomatic Posting Software - mail to flume::puckTue Jun 21 1994 21:2229
Date Of Receipt: 	21-JUN-1994 10:48:14.91
From: 	FLUME::"[email protected]" "Grant Van Dyck  21-Jun-1994 1047"
To: 	[email protected]
CC: 	[email protected]
Subj: 	Re: make / build in source directories ??

| 
| Hi There,
| 
| How can one cause make and/or build to refrain from changing directories
| before executing any commands?  I tried setting my object_base to be the
| same as the source_base, but that didn't help.
| 
| Thanks,
| --steve

The culprit here is not $object_base but $OBJECTDIR.
In your sandbox's rc_files, edit local and add the line:

unsetenv OBJECTDIR 

anywhere after the line:

include ./shared



	-Grant

809.2Re: make / build in source directories ??SMURF::FILTERAutomatic Posting Software - mail to flume::puckMon Jun 27 1994 18:2012
Date Of Receipt: 	27-JUN-1994 16:32:37.46
From: 	FLUME::jmcg "Jim McGinness"
To: 	[email protected], [email protected]
CC: 	
Subj: 	Re:  make / build in source directories ??

I'm not clear on what environment you're trying to do this in, but
one way to keep make at home is to create a Makeconf file in the
directory.

	-- jmcg