home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9243 < prev    next >
Encoding:
Text File  |  1992-07-21  |  977 b   |  29 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!walter!fork!snk
  3. From: snk@fork.bae.bellcore.com (Samuel N Kamens)
  4. Subject: Re: How to use a local variable in a makefile
  5. Message-ID: <1992Jul21.125942.15664@walter.bellcore.com>
  6. Sender: news@walter.bellcore.com
  7. Nntp-Posting-Host: fork.bae.bellcore.com
  8. Reply-To: snk@bae.bellcore.com
  9. Organization: Bell Communications Research
  10. References:  <20JUL199213291787@venus.lerc.nasa.gov>
  11. Date: Tue, 21 Jul 92 12:59:42 GMT
  12. Lines: 15
  13.  
  14. In article <20JUL199213291787@venus.lerc.nasa.gov>, uuwayne@venus.lerc.nasa.gov (Wayne Stopak) writes:
  15. > I am trying to use a local variable, $home, in a makefile with no success.
  16. > The makefile interprets the $ sign as a macro.  
  17. > (I tried the following withe no luck: \$home, $$home, $HOME, "$home", '$home')
  18. > Any suggestions?
  19.  
  20. Try using $(home).
  21.  
  22.  
  23. -- 
  24. Sam Kamens                    Bell Communications Research
  25. snk@bae.bellcore.com                Phone: (908) 699-7509
  26. 444 Hoes Lane  Room RRC 1D-210
  27. Piscataway, NJ 08854
  28.