🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3765

Re: Makefile : .c.o and %.o: %.c

#3765
From: Paul D. Smith
Date: Thu, 17 May 2001 15:07
17 lines
2068 bytes
I guess I should also point out a few other differences:

 1) The suffix form can be removed via the empty .SUFFIXES target; the
    pattern form can only be removed with the -r option.

 2) The pattern form isn't valid POSIX.2 make.

 3) The pattern form is much more flexible, which doesn't matter in this
    case as you've stated it but matters very much in other
    situations... like if you wanted the .o to go into a different
    directory for example.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@gnu.org>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
Technical Details
Message-ID: <p5bsosui8e.fsf@lemming.engeast.baynetworks.com>
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!portc03.blue.aol.com!portc01.blue.aol.com!news.chicago1.Level3.net!Level3.net!news.corpeast.baynetworks.com!not-for-mail
References: <3B03B870.2168B36C@bigfoot.com> <p5lmnwukdf.fsf@lemming.engeast.baynetworks.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109f73,4f4561c76a5fff83
X-Google-Attributes: gid109f73,public
X-Google-Thread: fc89c,4f4561c76a5fff83
X-Google-Attributes: gidfc89c,public
X-Google-ArrivalTime: 2001-05-17 08:09:08 PST
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!portc03.blue.aol.com!portc01.blue.aol.com!news.chicago1.Level3.net!Level3.net!news.corpeast.baynetworks.com!not-for-mail
From: "Paul D. Smith" <psmith@gnu.org>
Newsgroups: comp.unix.programmer,gnu.utils.help
Subject: Re: Makefile : .c.o and %.o: %.c
Date: 17 May 2001 11:07:29 -0400
Organization: GNU's Not Unix!
Lines: 17
Message-ID: <p5bsosui8e.fsf@lemming.engeast.baynetworks.com>
References: <3B03B870.2168B36C@bigfoot.com> <p5lmnwukdf.fsf@lemming.engeast.baynetworks.com>
Reply-To: psmith@gnu.org
NNTP-Posting-Host: lemming.engeast.baynetworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: spinner.corpeast.baynetworks.com 990112050 26901 192.32.150.127 (17 May 2001 15:07:30 GMT)
X-Complaints-To: usenet@spinner.corpeast.baynetworks.com
NNTP-Posting-Date: 17 May 2001 15:07:30 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7