Message-Id: <200007051631.LAA03097@darwin.sfbr.org> Date: Wed, 5 Jul 2000 11:32:26 -0500 (CDT) From: Jeff Williams Subject: Re: Using $(HOME) in makefile To: djgpp AT delorie DOT com Cc: eliz AT is DOT elta DOT co DOT il MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: G1jNpRhMbNufqCKEC1HtTw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.4 SunOS 5.7 sun4u sparc Reply-To: djgpp AT delorie DOT com -: There are several ways: -: -: set HOME=c: -: set HOME=c:/ -: set HOME=/dev/c Yes, if I set HOME='/dev/c' the makefiles behave as desired. But I neglected to say that whatever value HOME has for `make', it should (ideally) be understood by any program that uses HOME to find its startup files (e.g., gnuplot, vim, elvis). These do not understand `/dev/c'; `c:' is usually understood as a relative path; and `c:/' will choke any program expecting DOS-style backslashes. Fortunately, some of these programs also check another, more specific environment variable (e.g., $VIM) if $HOME doesn't work for them.