Errors Make
No rule to make target
make: *** No rule to make target 'main.cpp', needed by 'main.o'. Stop.
GNUmakefile:1: *** missing separator. Stop.
If you see the error
GNUmakefile:1: *** missing separator. Stop.
Pay attention to GNUmakefile:1:
1 - this is the number of the line where the error occurred
Perhaps a space slipped in somewhere instead of a tab. Remember that in a makefile indentation must be made with tabs.
Or the target is listed without a colon .PHONY clean instead of .PHONY: clean
Or some similar error.
Article author: Andrei Olegovich