📄 settitle.mke
字号:
#------------------------------------------------------------------------
#
# MDL Make File
#
# Compile Applications with only an MC file.
#
#------------------------------------------------------------------------
appName = SetTitle
ma = ./
%if defined (_MakeFilePath)
baseDir = $(_MakeFilePath)
%else
baseDir = ./
%endif
#------------------------------------------------------------------------
# mdl.mki contains the default rules for creating .rsc, .mo, etc files
# mdlexmpl.mki contains the output directory overrides used by examples
#------------------------------------------------------------------------
%include mdl.mki
privateInc = $(baseDir)
%if defined (MSJ)
# Create a macro for portable library extensions.
libraryExt = dlo
%else
libraryExt = ml
%endif
#------------------------------------------------------------------------
# Compile MC Source
#------------------------------------------------------------------------
Objs = \
$(o)$(appName).mo \
$(mdlLibs)mdllib.$(libraryExt)
Rscs = \
$(o)$(appName).mp
#------------------------------------------------------------------------
# Compile the MDL source object file using mcomp
#------------------------------------------------------------------------
$(o)$(appName).mo : $(baseDir)$(appName).cpp
#------------------------------------------------------------------------
# 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 : $(Objs)
$(msg)
> $(o)temp.cmd
-a$@
-s6000
$(linkOpts)
$(Objs)
<
$(MlinkCmd) @$(o)temp.cmd
~time
#------------------------------------------------------------------------
# The following section generates the MDL Intermediate module using
# rlib. This module contains the MDL CODE module and any
# non-translatable resource modules.
#------------------------------------------------------------------------
$(o)$(appName).mi : $(Rscs)
$(msg)
> $(o)temp.cmd
-o$@
$(Rscs)
<
$(RLibCmd) @$(o)temp.cmd
~time
maRscs = $(o)$(appName).mi
$(ma)$(appName).ma : $(o)$(appName).mi
$(msg)
> $(o)make.opt
-o$@
$(maRscs)
<
$(RLibCmd) @$(o)make.opt
~time
#------------------------------------------------------------------------
# End of build. NOTE: This line is helpful by terminating the
# last rule with a blank line. This is necessary
# to prevent concatenation with other '.mki'
# rules in the Foreign Language Translation Kit.
#------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -