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

📄 makefile.common

📁 T-kernel T-monitor Sample
💻 COMMON
字号:
#******************************************************************************
#       System Name : RENESAS T-Engine/micro T-Engine series
#       File Name   : Makefile.common
#       Version     : 1.00.00
#       Contents    : Makefile.common fot SH77xx T-Monitor
#       Model       : SH77xx T-Engine
#       CPU         : SH77xx
#       Compiler    : GNU
#       OS          : T-Kernel/T-Kernel Standard Extention
#       note        : The Software is being delivered to you "AS IS" 
#                   : and Renesas,whether explicitly or implicitly makes  
#                   : no warranty as to its Use or performance. 
#                   : RENESAS AND ITS SUPPLIER DO NOT AND CANNOT WARRANT 
#                   : THE PERFORMANCE OR RESULTS YOU MAY OBTAIN  BY USING 
#                   : THE SOFTWARE. AS TO ANY MATTER INCLUDING WITHOUT 
#                   : LIMITATION NONINFRINGEMENT OF THIRD PARTY RIGHTS,
#                   : MERCHANTABILITY, INTEGRATION, SATISFACTORY QUALITY, 
#                   : OR FITNESS FOR ANY PARTICULAR PURPOSE.
#
#       Copyright (c) 2005 RENESAS TECHNOLOGY CORP. All Rights Reserved.
#       AND RENESAS SOLUTIONS CORP. All Rights Reserved.
#       history   : 2006.02.03 ver1.00.00
#******************************************************************************

# source file path
S	= ../../src/$(TETYPE)_$(MACHINE)
VPATH	+= $(S)

# additional library
LDSYSLIBS = -lstr -ltm -ldrv
LDLIBS += $(LDSYSLIBS)


# ----------------------------------------------------------------------------

.PHONY: all clean install

ALL = tmonitor.mot

all: $(ALL)

tmonitor.mot: tmonitor
	$(OBJCOPY) $(OUTPUT_SREC) $< $@

tmonitor: entry.o monitor.o default_hdr.o serial_io.o
	$(LINK.o) -nostdlib -T tmonitor.lnk $^ $(LDLIBS) $(OUTPUT_OPTION)
	$(NM) $(NMFLAGS) tmonitor > tmonitor.map

clean:
	$(RM) entry.o monitor.o default_hdr.o serial_io.o tmonitor tmonitor.mot tmonitor.map *.lst

install: $(addprefix $(EXE_INSTALLDIR)/, $(ALL))

⌨️ 快捷键说明

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