Date: Mon, 17 Jun 1996 08:14:24 +0200 (IST) From: Eli Zaretskii To: Rich Dawe Cc: djgpp AT delorie DOT com Subject: Re: Problems with a simple makefile In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).