Mail Archives: djgpp/2000/08/01/09:31:13
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.
- Raw text -