Page 1 of 1

GNU make: missing separator / TAB instead of spaces?

Posted: Tue Sep 01, 2015 11:11 pm
by peter_b
[PROBLEM]
Editing a FATE Makefile with vim, using FFmpeg's vimrc, but got the following error:
*** missing separator (did you mean TAB instead of 8 spaces?). Stop.
[SOLUTION]
The actual problem weren't tabs or spaces.
It was a missing "\" in a multi-line statement.

Example:

Code: Select all

VARIABLE = one \
           two
           three
Correct would be (of course):

Code: Select all

VARIABLE = one \
           two \
           three