home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / misc / discuss / 2592 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.8 KB  |  41 lines

  1. Newsgroups: gnu.misc.discuss
  2. Path: sparky!uunet!cs.utexas.edu!torn!cunews!nrcnet0!bnrgate!bmers145!bnr.ca!tpc
  3. From: tpc@bnr.ca (Thomas P. Chmara)
  4. Subject: gnuMake 3.62 -- problems interworking with makedepend
  5. Message-ID: <1992Jul30.194350.25344@bmers145.bnr.ca>
  6. Keywords: gnumake intermediate-files makedepend
  7. Sender: news@bmers145.bnr.ca
  8. Reply-To: tpc@bnr.ca
  9. Organization: Bell-Northern Research Ltd.
  10. Date: Thu, 30 Jul 92 19:43:50 GMT
  11. Lines: 28
  12.  
  13. I've been working with gnumake 3.62 for a few months now, and have found only
  14. one problem which materially affects how I use the tool..  When trying to
  15. incorporate dependencies on header files, I found that intermediate files were
  16. no longer deleted on completion.  I am building into libraries:
  17.  
  18. library: $(MACH_HDRS) \
  19.     $(foreach file, $(addsuffix .o, $(basename $(MACH_SRCS))), \
  20.         ../libbase.a($(file)))
  21.  
  22. The source files are local to the directory, or in a CVS1.0** repository whose
  23. location is identified using VPATH.  I found that if I included the extra
  24. dependencies generated by makedepend, the .c and .o files were not deleted.
  25. If I didn't have the extra dependencies, the .c and .o files are successfully
  26. deleted after the archive entry is updated.
  27. I am working on a HP9000/345 running HP-UX 8.0, for what that's worth.
  28.  
  29. Has anyone had success with makedepend or its ilk in combination with gnuMake
  30. 3.62?  Any ideas where to start looking?  Is there a mailing list for gnuMake?
  31.  
  32.     ---tpc---
  33.  
  34. **yes, yes, I know...we're going to CVS1.3 RSN...
  35. -- 
  36. I am sole owner of the above opinions. These opinions are furnished without
  37. warranty or liability expressed or implied.  Your mileage may vary.
  38. -----------------------------------------------------------------------------
  39. Tom Chmara, P.Eng.|  INTERNET:  tpc@x400gate.bnr.ca    |  Fone:  (613)765-2925
  40. BNR Ltd.      |                      |  FAX:   (613)763-2626
  41.