On Mon, Aug 14, 2006 at 05:15:50PM -0400, Harig, Mark wrote: > > >> -----Original Message----- >> >> $ make -f mk >> make: *** No rule to make target `c\:/hoffman/foo/foo.c', >> needed by `foo'. Stop >> >> [EMAIL PROTECTED] ~/foo >> $ ../make381/usr/bin/make.exe -f mk >> make: *** No rule to make target `c\:/hoffman/foo/foo.c', >> needed by `foo'. Stop >> >> >> So, I am guessing there is no way to write a makefile that will use >> make 3.81 that will work with Microsoft's cl. Is that >> correct? Or am >> I missing something? I can change cmake to put anything I >> want in the generated >> makefiles, but it will have to be something that is valid for cl. > >Suggestion: > >1. $ mount -m > $ mount -s -b --change-cygdrive-prefix "/" > $ mount -m > >2. Edit your 'mk' file to change "c\:/hoffman" to "/c/hoffman". In > general, change the "drive:" strings to "/drive/" strings, after you have > changed your cygdrive prefix.
That isn't going to help with programs like cl which take MS-DOS command line arguments, nor, is my oft-suggested but consistently ignored perl script for converting a makefile from MS-DOS to cygwin paths. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/