makefile - missing separator
I am trying to compile a JNI example from:
Using this make file:
gcc -o libnativelib.so -shared -Wl,-soname,libnative.so
I get this error:
makefile:1: *** missing separator. Stop.
From what i read, this error is caused by using spaces instead of tabs in the 'blank' spots, or possibly vice-versa. I've tried replacing all the spaces with tabs and then all the tabs with spaces, but either way it doesn't work.
What can I do?
things to try
Make sure you use a pure text editor (VI for example, compared to staroffice, VI is a pure ascii text editor)
Make sure there is exactly one space between items
the answer is that this is not a makefile at all, just a compile statement
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center