📄 makefile
字号:
#******************************************************************************
#
# File Name : makefile
#
# Description : Makefile to build the modified loader library (loader.lib)
# with ST20-DCU toolset, when booting the 5500 dvb reference
# software from Flash Eprom.
#
#(C)Copyright ST Microelectronics 1999
#
# Reference to the origin of this file within the clearcase repository :
# \5500ref\flash\loader\makefile
#
# Revision History (Latest modification on top) :
# Date Modification Initials
# ---- ------------ --------
# 14-Jan-99 Creation PL
#
# 2003/03/15 add GDEF_CPU_FREQ yuyiwei 2003-3-15 9:02
#*******************************************************************************
include ..\..\..\global_def.inc
include ..\..\make.inc
AFLAGS=
CFLAGS=-c -c2 -cpp $(GLOBAL_DEF)
# Compiler options common for ROM loader C source files
LOCAL_CFLAGS=-I ..\..\main
# header file dependancy for ROM loader C source files
LOCAL_DEPENDANCY=makefile ..\..\main.cfg ..\..\hw.cfg
# list of ROM loader library object files
LOADER_OBJS = romload.tco \
romload2.tco
##
## modified to change the CPU freq.
##
!if $(GDEF_CPU_FREQ) == 60
loader.lib: $(LOADER_OBJS)
$(CP) ..\..\..\loader5518.lib ..\..\libs\loader.lib $(CONFIRMATION)
copy ..\..\libs\loader.lib ..\..\..\libs\loader.lib
!else
loader.lib: $(LOADER_OBJS)
$(CP) ..\..\..\loader5518_80m.lib ..\..\libs\loader.lib $(CONFIRMATION)
copy ..\..\libs\loader.lib ..\..\..\libs\loader.lib
!endif
romload.tco: romload.c $(LOCAL_DEPENDANCY)
$(CC) $(CFLAGS) $(LOCAL_CFLAGS) romload.c -o romload.tco
romload2.tco: romload2.c $(LOCAL_DEPENDANCY)
$(CC) $(CFLAGS) $(LOCAL_CFLAGS) romload2.c -o romload2.tco
clean:
@$(RM) *.tco
@$(RM) *.lib
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -