From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: Trying to figure out makefiles Date: Mon, 26 Mar 2001 22:12:49 +0100 Lines: 24 Message-ID: References: <0apv6.10280$P4 DOT 869113 AT newsread1 DOT prod DOT itd DOT earthlink DOT net> <9003-Sun25Mar2001201444+0200-eliz AT is DOT elta DOT co DOT il> <32rv6.10684$P4 DOT 890158 AT newsread1 DOT prod DOT itd DOT earthlink DOT net> <99nb94$j9k$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <0r5vbt0elvarhhoq5it2dk6n2esi5ufr1i AT 4ax DOT com> <2110-Mon26Mar2001224243+0200-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: modem-126.nobelium.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg3.svr.pol.co.uk 985641129 517 62.136.70.254 (26 Mar 2001 21:12:09 GMT) NNTP-Posting-Date: 26 Mar 2001 21:12:09 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote: > > Of course, make can do more than this, and I can't help but point out too > > that Brian probably wants to turn warnings on since this so easy to do in > > a makefile. Here's a slightly more advanced version (but not more > > advanced than a beginner could cope with after browsing the info pages, I > > think): > > > > CFLAGS = -Wall > > > > proj13.exe: video.o testmain13.o > > gcc -o $@ $^ > > The last line should have probably used $(CC) instead of a hard-wired > "gcc". Indeed it should. > But why do you say this is too much for someone who looked in the > manual? I didn't. I meant this is *not* too much for someone who read the docs - the inference being that there are lots more clever things to do with make once the user is practiced with it.