home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13823 < prev    next >
Encoding:
Text File  |  1992-11-22  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!ericom!eos.ericsson.se!etxmesa
  3. From: etxmesa@eos.ericsson.se (Michael Salmon)
  4. Subject: Re: make, makefile where s.'s are in another directory, clean solution ?
  5. Message-ID: <1992Nov23.092525.1396@ericsson.se>
  6. Keywords: make
  7. Sender: news@ericsson.se
  8. Nntp-Posting-Host: eos6c02.ericsson.se
  9. Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
  10. Organization: Ericsson Telecom AB
  11. References:  <1992Nov20.140313.32637@europa.asd.contel.com>
  12. Date: Mon, 23 Nov 1992 09:25:25 GMT
  13. Lines: 24
  14.  
  15. In article <1992Nov20.140313.32637@europa.asd.contel.com>, mclemore@rebec.asd.contel.com (Ken McLemore) writes:
  16. |> we like to keep all our "s." files in one source directory and run makes
  17. |> in other directory during development, looking for a clean solution for
  18. |> these "s." dependencies other than an explicit entry for each ".c" that
  19. |> has macro pathing to the source directory.
  20. |> suggestions, thanks in advance....ken
  21.  
  22. I guess that you are using SCCS and if so then the make that comes with
  23. your system will look for sources in directory SCCS below the current
  24. one, check your man page for make. If you have symbolic links then it
  25. is a snap to create a link to the common source directory. Also make
  26. supports the suffix ~ which is translated to the prefix SCCS/s. . I
  27. hope that this answers your question.
  28.  
  29. -- 
  30.  
  31. Michael Salmon
  32.  
  33. #include    <standard.disclaimer>
  34. #include    <witty.saying>
  35. #include    <fancy.pseudo.graphics>
  36.  
  37. Ericsson Telecom AB
  38. Stockholm
  39.