home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!walter!fork!snk
- From: snk@fork.bae.bellcore.com (Samuel N Kamens)
- Subject: Re: How to use a local variable in a makefile
- Message-ID: <1992Jul21.125942.15664@walter.bellcore.com>
- Sender: news@walter.bellcore.com
- Nntp-Posting-Host: fork.bae.bellcore.com
- Reply-To: snk@bae.bellcore.com
- Organization: Bell Communications Research
- References: <20JUL199213291787@venus.lerc.nasa.gov>
- Date: Tue, 21 Jul 92 12:59:42 GMT
- Lines: 15
-
- In article <20JUL199213291787@venus.lerc.nasa.gov>, uuwayne@venus.lerc.nasa.gov (Wayne Stopak) writes:
- >
- > I am trying to use a local variable, $home, in a makefile with no success.
- > The makefile interprets the $ sign as a macro.
- > (I tried the following withe no luck: \$home, $$home, $HOME, "$home", '$home')
- > Any suggestions?
-
- Try using $(home).
-
-
- --
- Sam Kamens Bell Communications Research
- snk@bae.bellcore.com Phone: (908) 699-7509
- 444 Hoes Lane Room RRC 1D-210
- Piscataway, NJ 08854
-