How to run a makefile in Windows?

2019-01-12 17:26发布

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?

8条回答
我想做一个坏孩纸
2楼-- · 2019-01-12 18:05

Firstly, add path of visual studio common tools (c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools) into the system path. To learn how to add a path into system path, please check this website: http://www.computerhope.com/issues/ch000549.htm. You just need to this once.

After that, whenever you need, open a command line and execute vsvars32.bat to add all required visual studio tools' paths into the system path.

Then, you can call nmake -f makefile.mak

PS: Path of visual studio common tools might be different in your system. Please change it accordingly.

查看更多
淡お忘
3楼-- · 2019-01-12 18:06

Maybe you can try NetBeans IDE.

查看更多
登录 后发表回答