Skip to main content
gamedev.net
🔒 Locked

makefile

Started by Thrump Oct 12, 2000 at 7:56 PM 1 replies 250+ views
Original Post
Thrump
Thrump
I know this doesn''t have to do with game programming, but I''m getting this error. Fatal error in reader: makefile, line 3: Unexpected end of line seen here''s the makefile CC = gcc -Wall ass3: $(CC) $(INCLUDE) ass3.c it compiles fine on the commandline, but my friend needs the makefile to work for an assignment. (I''d find a better forum for this question, but it''s due in 2 1/2 hours...) Any help?
Ksero
Ksero
You do know that all the commands must begin with a tab character, so:

CC = gcc -Wall
ass3:
$(CC) $(INCLUDE) ass3.c


And if that's the entire makefile, I hope you define the INCLUDE variable somewhere else...

//Ksero

Edited by - Ksero on October 13, 2000 4:34:07 AM
Jaxks
Jaxks
Yes it´s so.
Remember it must Be tabulator only at the start of the line and don´t use Spacebar.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.