makefile.mak

来自「本代码是《C/C++程序员实用大全》的配套代码。网络转载」· MAK 代码 · 共 21 行

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

!include <ntwin32.mak>

all: client.exe

# Update the resource if necessary

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

# Update the object file if necessary

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

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

client.exe: client.obj client.res
    $(link) $(linkdebug) $(guiflags) -out:client.exe client.obj client.res $(guilibs)

⌨️ 快捷键说明

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