makefile

来自「TAPI ACD Samples」· 代码 · 共 34 行

TXT
34
字号
# Define NODEBUG to build ACDSMPL without debugging information.
# Define UNICODE to build ACDSMPL with UNICODE characters.

TARGETOS=WINNT

!include <Win32.Mak>

!ifdef UNICODE
unicode = -DUNICODE
!else
unicode =
!endif

cflags=$(cflags) -DWIN32_LEAN_AND_MEAN

all: acdclnt.exe

# Update the resource if necessary

acdclnt.res: acdclnt.rc resource.h
    $(rc) $(rcvars) -r acdclnt.rc

# Update the object files if necessary

acdclnt.obj: acdclnt.c resource.h acdclnt.h
    $(cc) $(cdebug) $(cflags) $(cvars) $(unicode) acdclnt.c

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

acdclnt.exe: acdclnt.obj acdclnt.res
    $(link) $(linkdebug)  $(guiflags) -out:acdclnt.exe\
    acdclnt.obj acdclnt.res\
    version.lib tapi32.lib comctl32.lib $(guilibsmt)

⌨️ 快捷键说明

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