📄 makefile.neptune
字号:
#---------------------------------------------------------------------------------# TEXAS INSTRUMENTS INCORPORATED PROPRIETARY INFORMATION## Property of Texas Instruments# 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 Texas Instruments. All rights reserved.## Filename : makefile## Description : makefile for building the arm9.lib library## Project : gsm perseus mpu## Author : Francois Reygagne# 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.lib#generic makefile rules (also known as suffix rules),#for building the ARM Satustar libraryinclude $(TEST_ROOT)/system/make_core/makefile_arm9.lib.coreSOURCES = \ 2rhea.c\ 2rheatest.c\ accesscp15.asm\ api.c\ boot_a9.c\ clkrst.c\ dsp_gpio.c\ flashaccess.asm\ flashamd.c\ flashintel.c\ gdd.c\ gdma.c\ gdmatest.c\ gpio_a9.c\ helen_conf.c\ hsab.c\ i2c.c\ msi2c.c\ init_cs.c\ inth.c\ inth2.c\ inth2.c\ intvecs.asm\ lcd.c\ localbus.c\ mailbox.c\ mcbsp2.c\ mcbsp1.c\ memory.c\ mif.c\ miftest.c\ mmcsd.c\ mmu.c\ ms.c\ multiple.asm\ mux.c\ overlay.asm\ pwt.c\ result.c\ rheaswitch.c\ sdma.c\ str_ldr.asm\ swap.asm\ tb_regs.c\ timer.c\ timer32_a9.c\ uarttest.c\ uartmodem.c\ uartirda.c\ ulpd.c\ ulpd.c\ usb_dma.c\ usb_w2fc.c\ uwire.c\ w_16.asm\ w_32.asm\ w_8.asm\ w_8_16_32.asm\ lcd_omap32.c\ gdma_omap32.c\ gdmatest_omap32.c \ dspstart.c \ testbench.c \ emifs.c \ arm9_deep_sleep.asm \ vlynq2ocp.c\ athena.c\ led_bootled.asm\ led_common.asm\ led_intvecs_a9.asm\ led_apif.c\ led_boot.c\ led_inth.c\ led_endsimu.c\ gea.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 + -