home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!rgm!ray
- From: ray@rgm.com (Ray Mendonsa)
- Newsgroups: comp.os.coherent
- Subject: Re: trouble making a program
- Message-ID: <9211230505.27@rgm.com>
- Date: 23 Nov 92 13:05:35 GMT
- References: <m0mtM9I-00047DC@clout.chi.il.us> <9211221643.AA19466@eskimo.chi.il.us>
- Organization: RGM *nix - Sacramento, CA
- Lines: 31
-
- tundra@eskimo.chi.il.us (Tundra Tim Daneliuk) writes:
-
- >>
- >> I'm trying to make a program using the Makefile created by GNU
- >> s configure program, and keep getting the error
- >>
- >> make: 5: multiple actions for .c.o
- >>
- . . .
- >>
- >> .c.o:
- >> $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -I$(srcdir) $<
- >>
- >> Is there a way I can work around this error?
- >>
- >> -John D. Boggs uunet!erato!jdb
- >>
- >The make shipped with COH is dain bramaged - use dmake (available from
- >mwcbbs) instead.
-
- It's true that it's brain damaged, but to slip past this error, just put
- a space between .c and .o . For example:
-
- .c .o:
- $(CC) . . .
-
- It'll work perfectly. (Or you can use another make. )
- --
- Ray Mendonsa ----- ray@rgm.com ---- Admin., rgm.com --------->
- 916/923-5013 8n1,HST -- login: new -- Public access Usenet -->
- Oh yes. . . It WILL be mine.
-