www.delorie.com/djgpp/bugs/show.cgi | search |
GNU Make stop with an error message when trying to parse a Makefile which is using the MSDos text-file format. Ex.: makefile:<NR>: *** missing separator. Stop. Where <NR> is the last line in the makefile. In order to get make to parse the file you need to strip the makefile for ^M (Ctrl-M)'s and ^Z (Ctrl-Z).
My testing indicates that the only problem is the ^Z character at the end of the file. MS-DOS text files with CR-LF pairs but WITHOUT ^Z at the end are processed by Make OK.
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |