http://bugs.winehq.org/show_bug.cgi?id=31057
--- Comment #17 from Roman Kagan rkagan@mail.ru 2013-11-08 10:19:34 CST --- (In reply to comment #16)
Does it help if you make sure that all lines in Makefile end with \r\n and tabs are in proper starting positions?
No. All that seem to matter is BOM.
# echo -e 'all:\n\techo ok' > Makefile # unix2dos Makefile unix2dos: converting file Makefile to DOS format ... # wine nmake.exe -nologo fixme:heap:HeapSetInformation (nil) 1 (nil) 0 makefile(3) : fatal error U1034: syntax error : separator missing Stop.
# echo -e 'all:\n\techo ok' > Makefile # unix2dos --add-bom Makefile unix2dos: converting file Makefile to DOS format ... # wine nmake.exe -nologo fixme:heap:HeapSetInformation (nil) 1 (nil) 0 echo ok fixme:file:NeedCurrentDirectoryForExePathW (L"echo"): partial stub ok