📄 splash.mke
字号:
#------------------------------------------------------------------------
# Define macros specific to this example
#------------------------------------------------------------------------
appName = splash
ma = ./
baseDir = ./
#------------------------------------------------------------------------
# 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)
# Create a macro for portable library extensions.
%if defined (MSJ)
libraryExt = dlo
%else
libraryExt = ml
%endif
#------------------------------------------------------------------------
# Define macros for files included in our link and resource merge
#------------------------------------------------------------------------
Objs = \
$(o)$(appName).mo \
$(mdlLibs)ditemlib.$(libraryExt)
Rscs = \
$(o)$(appName).mp
#------------------------------------------------------------------------
# Compile the MDL source file using mcomp
#------------------------------------------------------------------------
$(o)$(appName).mo : $(baseDir)$(appName).cpp $(privateInc)$(appName).h
#------------------------------------------------------------------------
# Link MDL program file from $(appName).mo & ditemlib using rlink
#------------------------------------------------------------------------
$(o)$(appName).mp : $(Objs)
$(msg)
> $(o)make.opt
-a$@
-s6000
$(linkOpts)
$(Objs)
<
$(MLinkCmd) @$(o)make.opt
~time
#------------------------------------------------------------------------
# Merge the dialog resources & MDL program file using rlib
#------------------------------------------------------------------------
$(o)$(appName).mi : $(Rscs)
$(msg)
> $(o)make.opt
-o$@
$(Rscs)
<
$(RLibCmd) @$(o)make.opt
~time
%include $(baseDir)$(appName)rsc.mki
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -