I am getting this error when I try to run the make command.
makefile:13: *** missing separator. Stop.
my code for the make file is as follows and should be correct.
all: printname
CC = gcc
INCLUDE = .
CFLAGS= -g -Wall -ansi
printname: printname.o last.o first.o
$(CC) -o printname printname.o last.o first.o
printname.o: printname.c
$(CC) -I$(INCLUDE) $(CFLAGS) -c printname.c
last.o: last.c ln.h
$(CC) -I$(INCLUDE) $(CFLAGS) -c last.c
first.o: first.c fn.h
$(CC) -I$(INCLUDE) $(CFLAGS) -c first.c
I have looked into the problem and I am fairly certain that it is suppose to be some kind of issue with the TAB's but I have gone through the code several times to make sure that there are no rogue spaces and that it is formatted correctly. If anyone has any idea's as to what I can do to fix this that would be great! Thanks.