www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/11/02:54:46

Date: Mon, 11 May 1998 09:52:54 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Alex Weekley <rednax89 AT airmail DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Bad makefile
In-Reply-To: <067E9C4CA4749CFA.B60201B6EDD03678.4E7699120187A3E9@library-proxy.airnews.net>
Message-ID: <Pine.A32.3.91.980511095028.82616A-100000@ieva01.lanet.lv>
MIME-Version: 1.0


On Sat, 9 May 1998, 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!
> 

The possible problem may be missing TAB in begin of line where it is 
needed (many edittors may cause problems)

foo.o:  foo.c
	gcc -c -o foo.o foo.c

The second line MUST begin with TAB character. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019