home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11636 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.8 KB  |  49 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!news
  3. From: philip@ziggy.stanford.edu (Philip Machanick)
  4. Subject: Re: make and SGI sales (unrelated)
  5. Message-ID: <1992Jul30.062204.192@CSD-NewsHost.Stanford.EDU>
  6. Sender: news@CSD-NewsHost.Stanford.EDU
  7. Reply-To: philip@ziggy.stanford.edu (Philip Machanick)
  8. Organization: CS Department, Stanford University, California, USA
  9. References: <1110@shrike.com>
  10. Date: Thu, 30 Jul 1992 06:22:04 GMT
  11. Lines: 36
  12.  
  13. In article <1110@shrike.com> flash@austin.lockheed.com (James W. Melton)  
  14. writes:
  15. > The documentation of make in the SGI manuals is spartan at best.
  16. > Also, some of the best features of Sun make are not available on
  17. > the SGI, like shell assignements of macros; e.g.,
  18. >     CURRENT_DIR = `pwd`
  19.  
  20. Try man pmake - I found the following which may do what you want:
  21.         VARIABLE   != command
  22.      will execute command using the Bourne shell and place the result in the
  23.      given variable
  24.  
  25. In general I find pmake more useful (especially on an 8 processor machine) and  
  26. I suspect better maintained.
  27.  
  28. [detail erased]
  29.  
  30. > I have an SCCS directory which contains SCCS files for func1.c,
  31. > func2.c, and func3.c. Running make with this makefile gives the
  32. > error:
  33. >     Don't know how to make func1.o
  34. > According the man page (and I verified the .c~.o rule) make should
  35. > extract func1.c from SCCS and compile it to produce func1.o (same
  36. > for the other files). Why doesn't this work? I called the TAC, and
  37. > the dispatcher said she had just taken another call on a similar
  38. > problem. Does anyone have any hints or answers? Is this an FAQ?
  39.  
  40. At least the man page for pmake is honest about this one:
  41.  
  42.   PMake doesn't have make(1)'s tilde rules for SCCS files
  43. --
  44. Philip Machanick
  45. philip@pescadero.stanford.edu
  46.