📄 makefile
字号:
include ../../config.makall: dhasetup.exe dhahelper.sysdhasetup.exe: dhasetup.c $(CC) -o $@ $<dhahelper.o: dhahelper.c dhahelper.h $(CC) -Wall -Os -c $< -o $@dhahelper-rc.o: dhahelper.rc common.ver ntverp.h windres -I. $< $@base.tmp: dhahelper.o dhahelper-rc.o $(CC) -Wl,--base-file,$@ \ -Wl,--entry,_DriverEntry@8 \ -nostartfiles -nostdlib \ -o junk.tmp $^ -lntoskrnl -rm -f junk.tmptemp.exp: base.tmp dlltool --dllname dhahelper.sys --base-file $< --output-exp $@dhahelper.sys: temp.exp dhahelper.o dhahelper-rc.o $(CC) -Wl,--subsystem,native \ -Wl,--image-base,0x10000 \ -Wl,--file-alignment,0x1000 \ -Wl,--section-alignment,0x1000 \ -Wl,--entry,_DriverEntry@8 \ -Wl,$< \ -mdll -nostartfiles -nostdlib \ -o $@ dhahelper.o dhahelper-rc.o \ -lntoskrnl strip $@clean: rm -f *.o *~ dhahelper.sys dhasetup.exe base.tmp temp.expdistclean: clean.PHONY: all clean distclean
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -