tags:

views:

415

answers:

2

I have some demos that I downloaded and they come with a Makefile.win and a Makefile.sgi. How can I run these in Windows to compile the demos?

+3  A: 

If you have Visual Studio, run the Visual Studio Command prompt from the Start menu, change to the directory containing Makefile.win and type this:

nmake -f Makefile.win

You can also use the normal command prompt and run vsvars32.bat (c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools for VS2008). This will set up the environment to run nmake and find the compiler tools.

Marcelo Cantos
How do I run the visual studio command prompt from the start menu?
Kim
Alright I figured it out. But of course it wouldn't compile because of errors. Just my luck. Thanks though.
Kim
+1  A: 

Check out cygwin, a Unix alike environment for Windows

Frank