Share via


Makefile File

The NMAKE utility uses Makefile files to generate dependency and command lists.

A standard Makefile file in every sample driver's source code directory directs The NMAKE utility to the master macro definition file, Makefile.def. The Makefile you supply for your own source code should do the same.

Note  Starting with the Windows Driver Kit (WDK) for Windows Vista, it is no longer required for the Makefile file to be in every project. By default, the Build utility includes the Makefile.def if the Makefile file is not found in the project. Any custom tasks that are required in a project should be moved to Makefile.inc as appropriate.

The Makefile.def file is included with the Windows Driver Kit (WDK).

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011