📄 makefile_led
字号:
#---------------------------------------------------------------------------# TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION## Property of Texas Instruments (TI)# For Unrestricted Internal Use# Only Unauthorized reproduction and/or distribution is strictly prohibited.# This product is protected under copyright law and trade secret law# as an # unpublished work.# Created 1999, (C) Copyright 1999-2002 TI. All rights reserved.## Filename : makefile## Description : makefile for building the arm9.lib library## Project : Perseus2## Author : Francois Reygagne et les autres# modified by L.Lucido (adaptation to wcssoft)##---------------------------------------------------------------------------# This directive tells clearmake to perform "incremental CR merging"# for this target; that is, to merge the dependencies listed in the# previous CR with those of the latest build. In this way, no information# is lost from the CR.INCREMENTAL_TARGET:%.lib#--------------------------------------------------------------------# PARAMETERS DEDICATED TO THE PROJECT --# ARE SET BY THE INVOKER APPLI MAKEFILE --# THEIR VALUES ARE JUST GIVEN AS EXAMPLE FOR BETTER UNDERSTANDING --#--------------------------------------------------------------------#Subdirectory including library sources or objectsSUBLIB_DIR=arm9_lib#Subdirectory containing include sourcesSUBLIB_INC=arm9_inc#File Name of the library without its pathRELATIVE_LIBNAME = arm9_led.lib#generic makefile rules (also known as suffix rules),#for building the ARM Satustar libraryinclude /cdb/tcNeptuneF761811/system/make_core/makefile_arm9.lib.coreSOURCES = \ boot_led.c\ intvecs_led.asm\ led_common.asm\ led_bootled.asm\ result_led.c#------------------------------------------------------# TARGET BUILT --#------------------------------------------------------default: $(OBJECTS) $(LIB_NAME)# Object modules built by this makefile are standard, sharable derived# objects; typically, as the libraries' sources stabilize over time,# most builds of target *.lib will reuse or wink-in most of the object# modulesall: $(OBJECTS) $(LIB_NAME)# `make clean' will run the commands regardless of whether there is# a file named `clean'.# skips the implicit rule search for phony targets# This is why declaring a target phony is good for performance..PHONY: cleanclean: rm -fr $(LIB_NAME) *.map *.aux *.pp *.out $(OBJ_DIR)/*install: $(LIB_NAME)# During a rebuild, the $? macro expands to the list of dependencies# that do not match the current configuration record for the target.# $? is useful in conjunction with ar r to replace, in the archive# library, only those objects that have changed.$(LIB_NAME): $(OBJECTS) $(ARCHIVE) -rvs $(LIB_NAME) $? $(ARCHIVE) -tv $(LIB_NAME)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -