Article View: comp.unix.programmer
Article #3764Re: Makefile : .c.o and %.o: %.c
From: Paul D. Smith
Date: Thu, 17 May 2001 14:21
Date: Thu, 17 May 2001 14:21
19 lines
1775 bytes
1775 bytes
%% Alex Vinokur <alexvn@bigfoot.com> writes: nav> What is the difference between : nav> .c.o: nav> $(CC) <stuff> nav> and nav> %.o: %.c ; $(CC) <stuff> In this case, nothing. Assuming that, in the first case, you have .c and .o in your .SUFFIXES list, of course :). -- ------------------------------------------------------------------------------- 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:
<p5lmnwukdf.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!news.chicago1.Level3.net!Level3.net!news.corpeast.baynetworks.com!not-for-mailReferences:
<3B03B870.2168B36C@bigfoot.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 07:24:11 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!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 10:21:16 -0400 Organization: GNU's Not Unix! Lines: 19 Message-ID: <p5lmnwukdf.fsf@lemming.engeast.baynetworks.com> References: <3B03B870.2168B36C@bigfoot.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 990109277 25535 192.32.150.127 (17 May 2001 14:21:17 GMT) X-Complaints-To: usenet@spinner.corpeast.baynetworks.com NNTP-Posting-Date: 17 May 2001 14:21:17 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7