Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!uunet!mcvax!ukc!cs.tcd.ie!tcdmath!ajudge From: ajudge@maths.tcd.ie (Alan Judge) Newsgroups: gnu.utils.bug Subject: Re: Implicit rules in GNU Make Summary: Look in the sources Message-ID: <303@maths.tcd.ie> Date: 26 Jan 89 21:24:31 GMT References: <8901242004.AA06732@Gang-of-Four.Stanford.EDU> Reply-To: ajudge@maths.tcd.ie (Alan Judge) Distribution: gnu Organization: Maths Dept., Trinity College, Dublin Lines: 17 Keywords: In article <8901242004.AA06732@Gang-of-Four.Stanford.EDU> weening@GANG-OF-FOUR.STANFORD.EDU (Joe Weening) writes: ... > cc: -o would overwrite x.o > >Shouldn't the "-o x.o" be omitted if the -c flag is present? Some compilers will allow the -o flag with the -c flag. It allows more control over where the output goes. However, if you look in the Makefile for GNU Make 3.27 you will find a comment that says to add "-DNO_MINUS_C_MINUS_O" to the CFLAGS when building GNU Make if your compiler does not support -c and -o together. -- Alan Judge, Dept. of Maths., Trinity College Dublin, Ireland. Smart: ajudge@maths.tcd.ie Stupid: ...!uunet!maths.tcd.ie!ajudge