Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 1996 14:51:53 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        current@freebsd.org
Subject:   Re: OK, here it is! [was Re: Whoops! That was a mite premature..] 
Message-ID:  <5822.835480313@time.cdrom.com>
In-Reply-To: Your message of "Sun, 23 Jun 1996 06:19:00 %2B1000." <199606222019.GAA10843@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> We're talking about replacing `cd obj' and `ls obj/' with `cd someplace'
> and `ls someplace'.  Only make really knows where the object directory
> is, so it should tell you if you invoke it with some option.

Aha, I misunderstood you before.  This is handled in one of two ways:

1. At the beginning:
	make obj OBJLINK=yes

2. On the fly:
	make objlink

Which gives you the historical behavior.  If OBJLINK is set at
cleandir time, the link also goes away.

This leaves you out in the cold for CDROMs, of course, so I guess
it's only a matter of time before people clammor for a:

oh-my-god-where-are-my-objs:
	@echo "${.OBJDIR}"

target so that they can do:
	pushd `make oh-my-god-where-are-my-objs`

:-)

					Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5822.835480313>