Mail Archives: djgpp/1996/06/17/01:28:30
On Sun, 16 Jun 1996, Rich Dawe wrote:
> This produces the error message 'makefile:8: *** missing separator. Stop',
> where line 8 is the line following 'starship : ...'.
> starship : starship.o
> gcc -lalleg starship.o -o starship $(FLAGS)
^^^^^^^^^^^
Make sure the white space underlined above begins with a TAB, not a
SPACE. GNU Make insists upon it. This is explained in the Make Info
reference, in the section named "Rule Introduction".
And btw, your rule has another error: you should put `-lalleg' LAST on
your command line. DJGPP uses a one-pass linker, and the order of the
object files and libraries is significant. This is explained in the
DJGPP FAQ list (v2/faq200b.zip from the same place you get DJGPP).
- Raw text -