home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16499 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.0 KB  |  41 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!doc.ic.ac.uk!cc.ic.ac.uk!imperial.ac.uk!vulture
  3. From: vulture@imperial.ac.uk (Thomas Sippel - Dau)
  4. Subject: Re: Makefile and head headers
  5. Message-ID: <1992Nov16.202039.24910@cc.ic.ac.uk>
  6. Sender: vulture@carrion.cc.ic.ac.uk (Thomas Sippel - Dau)
  7. Nntp-Posting-Host: cscgc
  8. Reply-To: cmaae47@imperial.ac.uk
  9. Organization: Imperial College of Science, Technology and Medicine
  10. References: <34078@adm.brl.mil>
  11. Date: Mon, 16 Nov 92 20:20:39 GMT
  12. Lines: 27
  13.  
  14. In article <34078@adm.brl.mil>, rose@baby.swmed.utexas.edu (Rose Oguz) writes:
  15. - I'm new at using make.  If I want a file to be recompiled when the
  16. - included header file changes, must I specify that dependency in the
  17. - makefile?  If I specify that dependency for each source file, must
  18. - I aslo specify the compile command since I have object files and 
  19. - includes each in directories separate from each other and the
  20. - source files?  In simpler terms, I'd like to have as general a
  21. - makefile as possible.  Also, I like keeping my files segregated.  Am
  22. - I asking for too much?
  23.  
  24. Have a look at GNU make. Unfortunately many of the make processors you get
  25. with the systems are fairly direct descendants of the AT&T original. And
  26. even more unfortunately, Imake makes it worse.
  27.  
  28. GNU make comes with a reasonably good manual and uaer guide, which is more
  29. than can be said about *x* make. It does, however, mean that you have to port
  30. GNU make to every machine before you can even think of building a product,
  31. but this is usually easier than to try and make the resident make accept a 
  32. makefile written for another vendor's make.
  33.  
  34.                                        Thomas
  35. -- 
  36. *** This is the operative statement, all previous statements are inoperative.
  37. *   email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
  38. *   voice: +44 71 589 5111 x4937 or 4934 (day), or +44 71 823 9497 (fax)
  39. *   snail: Imperial College of Science, Technology and Medicine
  40. *   The Center for Computing Services, Kensington SW7 2BX, Great Britain
  41.