From owner-freebsd-current Sat Jun 22 14:52:20 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA12125 for current-outgoing; Sat, 22 Jun 1996 14:52:20 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA12120 for ; Sat, 22 Jun 1996 14:52:18 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id OAA05824; Sat, 22 Jun 1996 14:51:53 -0700 (PDT) To: Bruce Evans cc: current@freebsd.org Subject: Re: OK, here it is! [was Re: Whoops! That was a mite premature..] In-reply-to: Your message of "Sun, 23 Jun 1996 06:19:00 +1000." <199606222019.GAA10843@godzilla.zeta.org.au> Date: Sat, 22 Jun 1996 14:51:53 -0700 Message-ID: <5822.835480313@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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