Subject: Re: Using build.sh, a question
To: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 05/22/2003 18:33:28
On Thu, May 22, 2003 at 09:59:29AM +0200, Ronald van der Pol wrote:
  | On Thu, May 22, 2003 at 12:04:17 +1000, Luke Mewburn wrote:
  | 
  | > It's not necessary to use both -O and -M; pick one or the other.
  | > (I personally prefer -M).
  | 
  | I have switched between them a couple of times. I now use -O. Why
  | do you use -M? Is it just personal taste or are there real advantages?

-M uses the full path, so in my shell (tcsh), I can do:
	alias   cwdcmd  'set obj=${MAKEOBJDIRPREFIX}${cwd}'
and have $obj be set to the full path of the current directory.
(or use $MAKEOBJDIRPREFIX/`pwd`, etc...)

If you use -O, you can't use those tricks.  conversely, the objdir
paths are shorter, which you may find is useful.


Luke.