makefile

来自「<Win2k系统编程>源码.次数为国人自编,内容丰富,还是不错的.」· 代码 · 共 21 行

TXT
21
字号
# Nmake macros for building Windows 32-Bit apps

!include <ntwin32.mak>

all: monkey.exe

# Update the resource if necessary

monkey.res: monkey.rc monkey.h
    rc $(rcflags) $(rcvars) -r -fo monkey.res monkey.rc

# Update the object file if necessary

monkey.obj: monkey.c monkey.h
    $(cc) $(cdebug) $(cflags) $(cvars) monkey.c

# Update the executable file if necessary, and if so, add the resource back in.

monkey.exe: monkey.obj monkey.res
    $(link) $(linkdebug) $(guiflags) -out:monkey.exe monkey.obj monkey.res $(guilibs) advapi32.lib

⌨️ 快捷键说明

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