makefile.common

来自「T-kernel T-monitor Sample」· COMMON 代码 · 共 53 行

COMMON
53
字号
#******************************************************************************
#       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 + =
减小字号Ctrl + -
显示快捷键?