home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.3b1
- Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!jbunch
- From: jbunch@nyx.cs.du.edu (John Bunch)
- Subject: Re: Makefiles and the like.
- Message-ID: <1992Sep9.023605.6568@mnemosyne.cs.du.edu>
- Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
- Organization: University of Denver, Dept. of Math & Comp. Sci.
- References: <1992Sep7.131906.10061@mnemosyne.cs.du.edu> <1992Sep7.182802.27486@ceilidh.beartrack.com>
- Date: Wed, 9 Sep 92 02:36:05 GMT
- Lines: 52
-
- dnichols@ceilidh.beartrack.com (Don Nichols (DoN.)) writes:
-
- >>include $(MAKEINC)/Makepre.h
- >>CFLAGS = -O
- >>BINDIR = /usr/local/bin
- >>
- >>all: uuencode uudecode
- >>install: all
- >> cp uuencode uudecode $(BINDIR)
- >> strip $(BINDIR)/uuencode
- >> strip $(BINDIR)/uudecode
- >># cp uuencode.1 /usr/man/man1/uuencode.1
- >>
- >>uuencode: uuencode.c
- >> cc -c $(CFLAGS) uuencode.c
- >> ld $(SHAREDLIB) -o uuencode uuencode.o
- >>
- >>uudecode: uudecode.c
- >> cc -c $(CFLAGS) uudecode.c
- >> ld $(SHAREDLIB) -o uuencode uuencode.o
-
-
- > Well, this one looks strange, since I don't normally encounter
- >makefiles with include directives in them. It is complaining about line 8,
- >but I am not sure whether that is line 8 of the Makefile, line 8 of the
- >Makepre.h that is included, or line 7 of Makepre.h (starting counting with
- >the line in Makefile.
-
- >> strip $(BINDIR)/uuencode
-
- > If it is this line, check for a space at the front of the line. It
- >*must* start with a tab, or it is taken as a new target. (All lines which
- >don't start at the left margin *MUST* start with tabs.
-
- > If not, I need more information to figure out what is happening, and
- >it might be a function of your environment variables. (I never got the
- >uuencode package from osu-cis, since I already had a copy from other sources.
-
- > Perpaps someone else who has gotten and used this package can
- >pinpoint the problem which you are having.
-
- Well, after playing with it alot, it seems that the problem is that in the
- makefile the lines that look like tabs are actuall 8 spaces, causing make to
- barf on them... I have it mostly figured out now.
-
-
- John
- --
- John B Bunch * I don't want the world, I just want your
- 771 Madison Ave Apt.2e. * half.... -TMG
- Albany, NY 12208 * jbunch@nyx.cs.du.edu If mail here bounces
- (518) 436-3810 * Try John.Bunch@bbs.oit.unc.edu
-