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

📄 makefile

📁 本程序实现在M16C上的AD转换
💻
字号:
#******************************************************************************
#  System Name : This program is only for education.
#  File Name   : makefile
#  Contents    : Practice 8-A complete this makefile 
#  Model       : OAKS16-LCD Board
#  CPU         : M16C/60 Serials
#  Compiler    : NC30WA(V.4.00 Release 2 - Entry)
#  OS          : NON
#  Programer   : RENESAS Semiconductor Training Center
#  Note        : For OAKS16-M30620FCAFP(M16C/62group,16MHz)
#******************************************************************************

test.mot: test.x30
	lmc30 -ID#00000000000000 test.x30

test.x30: startup_i0.r30 main.r30 intr_i0.r30 lcd1.r30 strutl.r30 ln30.sub
	ln30 @ln30.sub

ln30.sub: makefile
	@command /c echo startup_i0.r30 main.r30 intr_i0.r30 lcd1.r30 strutl.r30	>ln30.sub
	@command /c echo -G -L nc30lib.lib -MS -T				>>ln30.sub
	@command /c echo -O test.x30							>>ln30.sub

startup_i0.r30: startup_i0.a30 target.inc sect_i0.inc
	as30 -LSIM -S -T startup_i0.a30

lcd1.r30: lcd1.a30 target.inc
	as30 -LSIM -S -T lcd1.a30

intr_i0.r30: intr_i0.a30
	as30 -LSIM -S -T intr_i0.a30

strutl.r30: strutl.c defs.h strutl.h
	nc30 -c -g -fB -WUP -WNP -Wmake_tagfile -fER -fFRAM strutl.c
	
main.r30: main.c defs.h  intr_i0.h target.h lcd1.h strutl.h
	nc30 -c -g -fB -WUP -WNP -Wmake_tagfile -fER -fFRAM main.c


	
clean:
	-del *.r30
	-del *.lst
	-del *.stk
	-del test.map
	-del test.x30
	-del ln30.sub
	-del test.id
	-del test.mot

⌨️ 快捷键说明

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