I have make 3.80 from a recent cygwin update. I am attempting to create a Visual Studio project that will invoke this make and from there on I can update a (reasonable) makefile instead of a Visual Studio project. My problem is that when I invoke make from a bash shell everything is ok. When it's invoked from inside the bowels of Visual Studio I get an error:
   ./Components/CygwinTools/Utils/bash: /c: No such file or directory

My makefile has SHELL defined as:
   SHELL := ../Components/CygwinTools/Utils/bash

When I invoke make from the normal bash shell I have all the unix variables, etc. When it's invoked from inside of Visual Studio I just have the few things I've checked into our source control system. (bash.exe, make.exe, cygwin1.dll, etc)

So it appears that make is adding -c when it thinks its in a normal Unix environment and /c when it thinks it's in a DOS type environment. That make sense. But - how do I tell make that I'm in a Unix environment and using cygwin tools?

Thanks,
Dan


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to