home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13221 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.1 KB

  1. Path: sparky!uunet!sun-barr!olivea!sgigate!odin!xanadu.wpd.sgi.com!pal
  2. From: pal@xanadu.wpd.sgi.com (Anil Pal)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: cvbuild problem in Workshop
  5. Message-ID: <1992Sep3.004501.22643@odin.corp.sgi.com>
  6. Date: 3 Sep 92 00:45:01 GMT
  7. References: <BtysG2.AsC@news.larc.nasa.gov>
  8. Sender: news@odin.corp.sgi.com (Net News)
  9. Reply-To: pal@wpd.sgi.com
  10. Organization: Silicon Graphics, Inc.
  11. Lines: 24
  12. Nntp-Posting-Host: xanadu.wpd.sgi.com
  13. Cc: alan@hal.larc.nasa.gov
  14.  
  15. In article <BtysG2.AsC@news.larc.nasa.gov>, alan@hal.larc.nasa.gov (alan dare) writes:
  16. |> 
  17. |> I having a problem with cvbuild under workshop. It will not correctly
  18. |> interpret my makefile.
  19. [...]
  20. |> 
  21. |> $(OBJ_FILES) : $$R
  22. |>     cc -c $(OPT)  $R -o $@ 
  23.  
  24. cvbuild is complaining about $$R.  I find that make will accept this,
  25. but smake will not.  cvbuild is aimed at recognizing smake syntax, so
  26. I'm not too surprised that it falls on the smake side of the fence on
  27. this one.
  28.  
  29. Replacing the $$R with $$(R) seems to fix the problem:
  30.  
  31.     $(OBJ_FILES) : $$(R)
  32.         cc -c $(OPT)  $R -o $@ 
  33.  
  34. is accepted by both make and cvbuild.
  35.  
  36. -- 
  37. Anil A. Pal
  38. pal@sgi.com    (415)-390-5279
  39.