From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Error using gnu make 3.75 Date: Wed, 30 Jul 1997 20:34:21 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 32 Message-ID: <33DFA54D.1446@cs.com> References: <33DD05B2 DOT 2652 AT pentek DOT com> 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 Precedence: bulk Charles Krug wrote: > > Trying to use gnu make 3.75 to build a program. Make returns the > following message: > > makefile:11: *** missing separator. Stop. > > Any thoughts on what I might be doing wrong? I tried using RHIDE's > editor to edit the file, thinking that dos edit might be giving me > spaces where I want tabs, but to no avail. Is there any way to make > sure that I have tabs and not spaces? Is there a port of vi to ms-dos? You are correct about the spaces; GNU Make requires that commands be prefixed with real tabs. RHIDE has an option to use real tabs somewhere in its menus, but you will still have to delete the spaces and replace them with tabs. In DOS Edit, you can "trick" it into using real tabs by loading a file that uses them. If a file that you load contains any real tabs, Edit will not convert tabs to spaces. Why? Your guess is as good as mine. GNU Emacs, another highly recommended IDE for DJGPP, treats tabs properly when you run it in makefile mode. hth -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto: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 | ---------------------------------------------------------------------