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?
相关问题
- Inheritance impossible in Windows Runtime Componen
- how to get running process information in java?
- Is TWebBrowser dependant on IE version?
- How can I have a python script safely exit itself?
- I want to trace logs using a Macro multi parameter
相关文章
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Bundling the Windows Mono runtime with an applicat
- Windows 8.1 How to fix this obsolete code?
- CosmosDB emulator can't start since port is al
- How to print to stdout from Python script with .py
- Determine if an executable (or library) is 32 -or
Check out GnuWin's make, which provides a native port for Windows (without requiring a full runtime environment like Cygwin)
With Visual Studio 2017 I had to add this folder to my Windows 10 path env variable:
There's also HostX86
Here is my quick and temporary way to run a Makefile
done.
Plus, you can add arguments after the command, such as
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: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.
Check out cygwin, a Unix alike environment for Windows
If it is a "NMake Makefile", that is to say the syntax is compatible with NMake, it will work.
Often standard Linux Makefiles are provided and
NMake
looks promising. However, the following link takes a simple Linux Makefile and explains some fundamental issues that one may encounter.Makefiles in Windows