⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nt_inter.mak

📁 intel 196nt 例程
💻 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

all:	all_hex

all_hex:	all_abs nt_int.hex

all_abs:	demostrt.obj nt_int.abs

clean:
	$(RM) *.abs
	$(RM) *.obj
	$(RM) *.m96
	$(RM) *.lst
	$(RM) *.log

# The nt-int example is not useful for the eval board
# because you cannot load anything in the FF page.
# Note nt_int0 is forced in the FF page!!!
# The rest of the code can go anywhere.
LDFLAGS_INT = $(MODEL) rom(2000h-37ffh,0FF0000h-0FFFFFFh(nt_int0)) ss(+60) sfr
nt_int.abs:	nt_int.obj nt_int0.obj
	$(LD) -f <<EOF
		$(separate ", &\n" $(CSTART) $(match .obj $!) $(match .lib $!) $(LIBS)) &
		to $@ &
		$(separate " &\n" $(LDFLAGS_INT))
	EOF

#
# This rule for DEMOSTRT is needed to overrule the
# default ASFLAGS
demostrt.obj:   demostrt.a96
        $(AS) -f << EOF
                demostrt.a96
                $(ASFLAGS) cmain
        EOF

⌨️ 快捷键说明

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