# Simple makefile example all: hello.exe hello.exe: hello.obj link hello.obj
nmake /? You should see help output listing options like /F , /X , /N , etc. Create a file named makefile (no extension) with the following content: download nmake for windows
Download the SDK version required (e.g., Windows 10 SDK or Windows 8.1 SDK). # Simple makefile example all: hello
NMAKE is Microsoft's classic build utility, used to automate the compilation of programs based on descriptions in a makefile . While modern developers often use MSBuild or CMake, NMAKE remains essential for maintaining legacy C/C++ projects, building older drivers, or following specific SDK examples. building older drivers
hello.obj: hello.c cl /c hello.c