工作備忘:Build *.sys

>> 2008年4月14日

  環境:1.VC, 2.安裝DDK/WDK

1.Makefile內容(不用修改)

#
# DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source
# file to this component. This file merely indirects to the real make file
# that is shared by all the driver components of the Windows NT DDK
#

!INCLUDE $(NTMAKEENV)\makefile.def

2. Sources內容

TARGETNAME=XXXXXXX
TARGETPATH=.
TARGETTYPE=DRIVER

INCLUDES=E:\WINDDK\3790.1830\inc\wxp;..\

SOURCES=XXXXX.c XXXXX.rc

3. 進入Windows XP Free Build Environment
進入code的根目錄下, 執行build.
無止盡的等待.......

0 意見:

Copyright 2008  © 賈斯汀的部落格All Rights Reserved. Powered byBlogger