test.mk

来自「在手机操作系统symbina上使用的一个脚本扩展语言的代码实现,可以参考用于自己」· MK 代码 · 共 49 行

MK
49
字号
# test.mk
# OPLR custom makefile, DOES NOT generates opltest test suite.
# WINS only.

OPOFILES=\
#	$(TARGETDIR)\tsystem.OPO

OPLFILES=\
#	$(TARGETDIR)\tsystem.OPL 

.SUFFIXES: .OPO .OPL .TPL

SOURCEDIR=\opx\tsrc
TARGETDIR=%EPOCROOT%epoc32\wins\c\opl

{$(SOURCEDIR)}.TPL{$(TARGETDIR)}.OPL:
	OPLTRAN -conv $< -e -o$(TARGETDIR)
	if exist $@ del $@
	REN $* *.opl

{$(SOURCEDIR)}.TPL{$(TARGETDIR)}.OPO:
	OPLTRAN $< -i%EPOCROOT%epoc32\release\wins\$(CFG)\z\system\opl -e -o$(TARGETDIR)

$(TARGETDIR) :
	@perl -S emkdir.pl "$(TARGETDIR)"

do_nothing :
	rem do nothing
	
CLEAN :
	-erase $(OPOFILES)
	
FINAL : do_nothing
	
FREEZE : do_nothing
	
LIB : do_nothing
	
MAKMAKE : do_nothing
	
RESOURCE : do_nothing
	
BLD : $(TARGETDIR)
	
SAVESPACE : BLD

RELEASABLES :
	echo $(OPOFILES)

⌨️ 快捷键说明

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