So when I run my makefile I get the error in the title (Fatal error in reader: makefile, unexpected end of line seen Line 8) and I don't honestly know what's going wrong.
CC=g++
CFLAGS= -g -c -Wall `sdl-configs --cflags`
LDFLAGS = `sdl-config --libs`
SOURCES= dpcm.cpp
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=dpcm
all: $(SOURCES) $(EXECUTABLE)
$(EXECUTABLE): $(OBJECTS)
$(CC) $(OBJECTS) -o $@ $(LDFLAGS)
.cpp.o:
$(CC) $(CFLAGS) $< -o $@
clean:
rm *.o
rm $(EXECUTABLE)
I took this code from a lab I'd worked on and altered the variable names to pertain to my program, so I'm not sure why it's not compiling.