Date: Tue, 1 Aug 2000 15:33:19 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Vikas Yadav cc: djgpp AT delorie DOT com Subject: Re: Makefiles In-Reply-To: <3986A433.FE74ABB2@yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 1 Aug 2000, Vikas Yadav wrote: > A simple makefile like this: > all: snake.exe > > snake.o: main.cpp cstring.h command.h utils.h > gcc -Wall -c main.cpp > snake.exe: snake.o > gcc -o snake.exe snake.exe -lz -lalleg -lini > > and make.exe keeps on syaing > makefile:4: ***reuired seperater I'm guessing that the error message said this: makefile:4:***missing separator. Stop. (Please always cite the _exact_ text of the messages.) This usually happens because you use spaces instead of TABs in the rule commands. GNU Make requires a TAB as the first character in the rule commands.