[gccsdk] make: File '-c' not found

WPB wpb.feed at gmx.com
Fri Jan 30 06:13:20 PST 2015

Hello all,

I'm running into trouble using 'make'.

With this very simple test case of a Makefile:

   dir :
	printf "Making dir...\n"
	mkdir OBJECTS

(Note that 'dir :' isn't really indented.)

I get the error "File '-c' not found" when I invoke 'make', and the dir  
'OBJECTS' is not made. If I comment out the 'printf' line, the dir is made.

Can anyone shed any light on this obscure error message for me?



More information about the gcc mailing list