📄 makefile
字号:
TARGETOS=WINNT
SEHMAP=TRUE
!include <win32.mak>
!IF "$(TARGETLANG)" == "LANG_JAPANESE"
all: WARN_MSG
!ELSE
all: mpheap.dll tmpheap.exe
!ENDIF
WARN_MSG:
@echo "Warning: MPHEAP sample works only on Windows NT 4.0"
# Inference rule for updating the object files
tmpheap.obj: tmpheap.c
$(cc) $(cdebug) $(cflags) $(cvars) $*.c
mpheap.obj: mpheap.c
$(cc) $(cdebug) $(cflags) $(cvarsdll) $*.c
# Build rule for EXE
tmpheap.exe: tmpheap.obj mpheap.lib
$(link) $(linkdebug) $(conlflags) $(conlibs) $** -out:tmpheap.exe
# linker will build the import library as well
mpheap.dll: mpheap.obj
$(link) $(linkdebug) $(dlllflags) $(conlibsdll) $** -out:mpheap.dll -def:mpheap.def
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -