home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / coherent / 5816 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  1.2 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!rgm!ray
  2. From: ray@rgm.com (Ray Mendonsa)
  3. Newsgroups: comp.os.coherent
  4. Subject: Re: trouble making a program
  5. Message-ID: <9211230505.27@rgm.com>
  6. Date: 23 Nov 92 13:05:35 GMT
  7. References: <m0mtM9I-00047DC@clout.chi.il.us> <9211221643.AA19466@eskimo.chi.il.us>
  8. Organization: RGM *nix - Sacramento, CA
  9. Lines: 31
  10.  
  11. tundra@eskimo.chi.il.us (Tundra Tim Daneliuk) writes:
  12.  
  13. >>
  14. >> I'm trying to make a program using the Makefile created by GNU
  15. >> s configure program, and keep getting the error
  16. >>
  17. >>      make: 5: multiple actions for .c.o
  18. >>
  19. . . .
  20. >>
  21. >>      .c.o:
  22. >>            $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -I$(srcdir) $<
  23. >>
  24. >> Is there a way I can work around this error?
  25. >>
  26. >> -John D. Boggs     uunet!erato!jdb
  27. >>
  28. >The make shipped with COH is dain bramaged - use dmake (available from
  29. >mwcbbs) instead.
  30.  
  31. It's true that it's brain damaged, but to slip past this error, just put
  32. a space between .c and .o .  For example:
  33.  
  34.       .c .o:
  35.               $(CC) . . .
  36.  
  37. It'll work perfectly.  (Or you can use another make. )
  38. -- 
  39. Ray Mendonsa ----- ray@rgm.com ---- Admin., rgm.com --------->
  40. 916/923-5013 8n1,HST -- login: new -- Public access Usenet -->
  41. Oh yes. . .  It WILL be mine.
  42.