I don't understand why i got the error makefile:10: *** missing separator.
after I putted I
on my makefile10 I$(CXX) -o $@ $^ $(LDFLAGS)
. How can I fix my makefile so that it produce no error? Thanks
all: tetris
CXXFLAGS=-g -Wall
Board.o: Board.coo Board.h
Tetromino.o: Tetromino.cpp Tetromino.h
tetris.o: tetris.cpp Tetromino.h Board.h
tetris: tetris.o Tetromino.o Board.o
I$(CXX) -o $@ $^ $(LDFLAGS)
clean:
rm -f *.o teris