📄 modsymb.mke
字号:
#----------------------------------------------------------------------
# name plbox.mke
# author BDN Chaohua Lin 8/04/2006
#----------------------------------------------------------------------
%if defined (_MakeFilePath)
BaseDir = $(_MakeFilePath)
%else
BaseDir = $(MS)/mdl/examples/modsymb/
%endif
appName = modsymb
privateInc = $(BaseDir)
#----------------------------------------------------------------------
# mdl.mki contains the default rules for creating .rsc, .mo, etc files
#----------------------------------------------------------------------
%include $(MS)/mdl/include/mdl.mki
#----------------------------------------------------------------------
# Define macros for files included in our link and resource merge
#----------------------------------------------------------------------
lchObjs = \
$(o)$(appName).mo
lchRscs = \
$(o)$(appName).rsc \
$(rscObjects)$(appName)msg.rsc \
$(o)$(appName).mp
#----------------------------------------------------------------------
# Generate command table include & resource file
#----------------------------------------------------------------------
$(genSrc)$(appName).h : $(BaseDir)$(appName).r
$(o)$(appName).rsc : $(BaseDir)$(appName).r
#----------------------------------------------------------------------
# Compile the MDL source object file
#----------------------------------------------------------------------
$(o)$(appName).mo : $(BaseDir)$(appName).mc
#--------------------------------------------------------------------
# Builds any translatable resource modules for the application.
#--------------------------------------------------------------------
$(rscObjects)$(appName)msg.rsc : $(BaseDir)$(appName)msg.r
#--------------------------------------------------------------------
# The following section generates the MDL Program module using
# mlink. This module should contain ALL CODE resources and/or
# libraries used by the application.
#--------------------------------------------------------------------
$(o)$(appName).mp : $(lchObjs)
$(msg)
> $(o)temp.cmd
-a$@
-s6000
$(linkOpts)
$(lchObjs)
<
$(MLinkCmd) @$(o)temp.cmd
~time
#--------------------------------------------------------------------
# The final step in building the application is lib'ing the applications
# intermediate application with the translatable resources built in
# this makefile. This step generates the final, and possibly translated,
# MDL application.
#--------------------------------------------------------------------
$(mdlapps)$(appName).ma : $(lchRscs)
$(msg)
> $(o)make.opt
-o$@
$(lchRscs)
<
$(RLibCmd) @$(o)make.opt
~time
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -