mod_menu.mak

来自「c c++最佳编程 1000 多个小技巧 源码」· MAK 代码 · 共 19 行

MAK
19
字号
# Nmake macros for building Windows 32-Bit apps

all: Mod_Menu.exe

# Update the resource if necessary

Mod_Menu.res: Mod_Menu.rc Mod_Menu.h
    rc -r -fo Mod_Menu.res Mod_Menu.rc

# Update the object file if necessary

Mod_Menu.obj: Mod_Menu.cpp Mod_Menu.h
    $(cc) $(cdebug) $(cflags) $(cvars) Mod_Menu.cpp

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

Mod_Menu.exe: Mod_Menu.obj Mod_Menu.res
    $(link) $(linkdebug) $(guiflags) -out:Mod_Menu.exe Mod_Menu.obj Mod_Menu.res $(guilibs) advapi.lib

⌨️ 快捷键说明

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