⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 微软提供的截取Win32 API函数的开发包和例子detours-src-1.2.rar
💻
字号:
######################################################################
#
# Utility to trace Win32 APIs.
#

BIND = ..\..\bin
CFLAGS = -nologo -GR -Zi /MD /Gi- /Gm- /W3 /WX /I..\..\include
LIBS = kernel32.lib gdi32.lib user32.lib shell32.lib  ..\..\lib\detours.lib

##############################################################################

all: $(BIND)\traceapi.dll

##############################################################################

$(BIND)\traceapi.dll: traceapi.dll
	-del $(BIND)\traceapi.dll 2> nul
	copy traceapi.dll $(BIND)

traceapi.dll: traceapi.cpp ..\..\lib\detours.lib
	cl /LD $(CFLAGS) /D_DEBUG /Fd"traceapi.pdb" $(MAKEDIR)\traceapi.cpp \
		/link /incremental:no /subsystem:console \
		/entry:_DllMainCRTStartup@12 /export:NullExport \
		$(LIBS)

##############################################################################

clean:
	-del *~ *.obj *.exe *.dll *.lib *.exp *.pdb 2>nul

##############################################################################

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -