Sunday, August 7, 2016

Makefile : *** missing separator

This error comes when you do not add a "tab" before the command, just below the "target:dependencies" line, i.e.

main.o: main.cpp
[\tab] g++ -c main.cpp

A missing tab would cause this error.