home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / 3b1 / 3313 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.3 KB  |  64 lines

  1. Newsgroups: comp.sys.3b1
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!jbunch
  3. From: jbunch@nyx.cs.du.edu (John Bunch)
  4. Subject: Re: Makefiles and the like.
  5. Message-ID: <1992Sep9.023605.6568@mnemosyne.cs.du.edu>
  6. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  7. Organization: University of Denver, Dept. of Math & Comp. Sci.
  8. References: <1992Sep7.131906.10061@mnemosyne.cs.du.edu> <1992Sep7.182802.27486@ceilidh.beartrack.com>
  9. Date: Wed, 9 Sep 92 02:36:05 GMT
  10. Lines: 52
  11.  
  12. dnichols@ceilidh.beartrack.com (Don Nichols (DoN.)) writes:
  13.  
  14. >>include $(MAKEINC)/Makepre.h
  15. >>CFLAGS = -O
  16. >>BINDIR = /usr/local/bin
  17. >>
  18. >>all:   uuencode uudecode
  19. >>install:       all
  20. >>       cp uuencode uudecode $(BINDIR)
  21. >>       strip $(BINDIR)/uuencode
  22. >>       strip $(BINDIR)/uudecode
  23. >>#      cp uuencode.1 /usr/man/man1/uuencode.1
  24. >>
  25. >>uuencode:      uuencode.c
  26. >>       cc -c $(CFLAGS) uuencode.c
  27. >>       ld $(SHAREDLIB) -o uuencode uuencode.o
  28. >>
  29. >>uudecode:      uudecode.c
  30. >>       cc -c $(CFLAGS) uudecode.c
  31. >>       ld $(SHAREDLIB) -o uuencode uuencode.o
  32.  
  33.  
  34. >    Well, this one looks strange, since I don't normally encounter
  35. >makefiles with include directives in them.  It is complaining about line 8,
  36. >but I am not sure whether that is line 8 of the Makefile, line 8 of the
  37. >Makepre.h that is included, or line 7 of Makepre.h (starting counting with
  38. >the line in Makefile.
  39.  
  40. >>       strip $(BINDIR)/uuencode
  41.  
  42. >    If it is this line, check for a space at the front of the line.  It
  43. >*must* start with a tab, or it is taken as a new target.  (All lines which
  44. >don't start at the left margin *MUST* start with tabs.
  45.  
  46. >    If not, I need more information to figure out what is happening, and
  47. >it might be a function of your environment variables.  (I never got the
  48. >uuencode package from osu-cis, since I already had a copy from other sources.
  49.  
  50. >    Perpaps someone else who has gotten and used this package can
  51. >pinpoint the problem which you are having.
  52.  
  53. Well, after playing with it alot, it seems that the problem is that in the
  54. makefile the lines that look like tabs are actuall 8 spaces, causing make to
  55. barf on them...  I have it mostly figured out now.
  56.  
  57.  
  58. John
  59. --
  60. John B Bunch              *  I don't want the world, I just want your
  61. 771 Madison Ave Apt.2e.   *     half....     -TMG
  62. Albany, NY 12208          *  jbunch@nyx.cs.du.edu If mail here bounces
  63. (518) 436-3810            *  Try John.Bunch@bbs.oit.unc.edu
  64.