delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/07/03:06:38

Message-Id: <200007070705.KAA28982@alpha.netvision.net.il>
Date: Fri, 07 Jul 2000 10:06:41 +0200
To: jeffw AT darwin DOT sfbr DOT org
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
CC: djgpp AT delorie DOT com
In-reply-to: <200007062019.PAA28113@darwin.sfbr.org> (message from Jeff
Williams on Thu, 6 Jul 2000 15:19:53 -0500 (CDT))
Subject: Re: Using $(HOME) in makefile
References: <200007062019 DOT PAA28113 AT darwin DOT sfbr DOT org>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Thu, 6 Jul 2000 15:19:53 -0500 (CDT)
> From: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
> 
> all I want from HOME is to identify my
> "home directory", be that `/home/user' on the Sun or `/' on my single-
> user DJGPP at home.  From there my directory structure (for the given
> application) is identical on both machines and makefiles know what to
> do.

You could use some variable other than HOME for that.  For example,
SOURCES or some such.  Since no other application is likely to use
such a variable, you will be much safer than messing with HOME.  All
you pay is the need to define that variable on your Unix machine
(whereas HOME is already defined for you).  IMHO it's as small price
to pay for your sanity ;-)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019