From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: makefile help Date: Thu, 20 Feb 1997 22:07:33 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 21 Message-ID: <330D3BA5.7B57@cs.com> References: <856478065 DOT 19598 DOT 0 AT slicksoft DOT demon DOT co DOT uk> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp106.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp steve wilcox wrote: > > can someone tell me how to make a makefile so i can just compile and > link 1 cc file and link with allegro library ? Please find attached a sample makefile that I have made specifically to send to people who know nothing about using Make. It's heavily documented and should show you everything you need to know about the basic syntax of a makefile. If you have any questions, or would like to see more complex examples, just email me. P.S.: To avoid cluttering up the list, I'm sending the attachment privately. If anybody else would like a copy, I'll be glad to send it to you. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Proud owner of what might one | http://www.cs.com/fighteer | | day be a spectacular MUD... | Plan: To make Bill Gates suffer | ---------------------------------------------------------------------