Mail Archives: djgpp/1997/07/31/22:19:07
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 |
---------------------------------------------------------------------
- Raw text -