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

📄 makefile

📁 ucos在所有cpu下的移植范例
💻
字号:
# must have a blank line between definitions because polymake gets confused
# with the escape\ and the \ at the end of a line meaning continue line.

INTROL_PATH = c:\introl

C_SRCS = MAIN UCOS TASK16 

ASM_SRCS = start cpu16 tasksw16 tick16 

ASM_OBJS = $[f,"",$(ASM_SRCS),"o16"]
C_OBJS = $[f,"",$(C_SRCS),"o16"]

C_HEADERS = DEFS.H UCOS.H 

HEAD : A.OUT

.c.o16 :
# Ignore whatever is returned by programs which polymake interprets as
# error codes use -command operation line modifier
# Set the search paths in environment variables; note \escape so that polymake
# won't think it's calling for line continuation.

        %setenv INTROL=$(INTROL_PATH)

	cc16 $< -gg -i=$(INTROL_PATH)\include -l -w9 > $*.cer
        type $*.cer

.s.o16 :
# Set the search paths in environment variables; note \escape so that polymake
# won't think it's calling for line continuation.

        %setenv INTROL=$(INTROL_PATH)

        as16 $< -l

$(C_OBJS) : $(C_HEADERS)
$(ASM_OBJS) : UCOS.H 
A.OUT: $(ASM_OBJS) $(C_OBJS) 

    ild16 $(ASM_OBJS) $(C_OBJS) -d c:\introl\lib16 -f a.map -gc:\syndev\m6816\c
    IHEX A.OUT 
<

⌨️ 快捷键说明

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