Advertisement

makefile

Started by October 12, 2000 07:56 PM
1 comment, last by Thrump 24 years, 2 months ago
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?
You do know that all the commands must begin with a tab character, so:
CC = gcc -Wallass3:	$(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
Advertisement
Yes it´s so.
Remember it must Be tabulator only at the start of the line and don´t use Spacebar.

This topic is closed to new replies.

Advertisement