t2_led.mak

来自「intel 196nt 例程」· MAK 代码 · 共 47 行

MAK
47
字号
#
# 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 t2_ledio.hex

all_abs:	demostrt.obj t2_ledio.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.
t2_ledio.hex:	t2_ledio.abs
t2_ledio.abs:	t2_ledio.obj wait_ms.obj rism_dummy.obj


⌨️ 快捷键说明

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