GNU make: missing separator / TAB instead of spaces?

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

GNU make: missing separator / TAB instead of spaces?

Post 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
Post Reply