🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1476

Re: Implicit rules in GNU Make

#1476
From: Alan Judge
Date: Thu, 26 Jan 1989 21:24
17 lines
1173 bytes
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
Technical Details
Message-ID: <303@maths.tcd.ie>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!uunet!mcvax!ukc!cs.tcd.ie!tcdmath!ajudge
References: <8901242004.AA06732@Gang-of-Four.Stanford.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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