From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Bad makefile Date: Sat, 09 May 1998 14:16:13 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 29 Message-ID: <35549D6D.2C14@cs.com> References: <067E9C4CA4749CFA DOT B60201B6EDD03678 DOT 4E7699120187A3E9 AT library-proxy DOT airnews DOT net> NNTP-Posting-Host: ppp112.cs.net 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 Precedence: bulk Alex Weekley wrote: > > Can anyone please tell me what is wrong with this makefile? One minute > it was working fine and now I always get missing separator. I've even > tried writing a new one but the same thing always happens. Arrgh! I hate > make! That always happens when your editor uses spaces instead of tabs on lines containing commands. GNU Make requires that commands be prefixed with real tabs. Depending on the editor you use, there is usually a way to make it use real tabs instead of spaces: in DOS Edit, the Ctrl-P,Ctrl-I combination has been known to work; Win95 Notepad uses real tabs; GNU Emacs uses tabs in Makefile mode, and RHIDE can be set to use real tabs. Make is an extremely powerful and versatile tool. It just takes a little time to get used to it. :-) -- John M. Aldrich - ICQ UIN# 7406319 * Anything that happens, happens. * Anything that, in happening, causes something else to happen, causes something else to happen. * Anything that, in happening, causes itself to happen again, happens again. * It doesn't necessarily do it in chronological order, though. --- Douglas Adams