📄 t1_tim.mak
字号:
#
# Makefile for some examples for the 196NT eval board
#
# This Makefile must be used with Tasking's make utility.
# Not every make utility will understand the syntax.
#
# These options are for 196NT
MODEL = model(nt-e)
ASFLAGS = $(MODEL) debug list
CCFLAGS = $(MODEL) type debug code dn(0)
CSTART = demostrt.obj
LIBS = c96.lib
#
# Note that the 196NT loads the code at 2000h, and
# the code will run in 'extended mode'.
LDFLAGS = $(MODEL) rom(2000h-37ffh) ss(+60) sfr
all: all_hex
all_hex: all_abs t1_timer.hex
all_abs: demostrt.obj t1_timer.abs
clean:
$(RM) *.abs
$(RM) *.obj
$(RM) *.m96
$(RM) *.lst
$(RM) *.log
#
# This rule for DEMOSTRT is needed to overrule the
# default ASFLAGS
demostrt.obj: demostrt.a96
$(AS) -f << EOF
demostrt.a96
$(ASFLAGS) cmain
EOF
# The following .obj => .abs rules will work because the basename is
# the same.
t1_timer.hex: t1_timer.abs
t1_timer.abs: t1_timer.obj ledio.obj timer.obj rism_dummy.obj
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -