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

📄 makefile

📁 这是达芬奇开发下的一个例程
💻
字号:
##  Copyright 2008 by Texas Instruments Incorporated.#  #  All rights reserved. Property of Texas Instruments Incorporated.#  Restricted rights to use, duplicate or disclose this code are#  granted through contract.#  ###  ======== makefile =======#  GNUmake-based makefile for linuxonly speech sample app.## This file describes the build for a generic Linux application that# happens to use Codec Engine. This makefile has special sections to# accomodate inclusion of the codec engine, while the rest is standard.# Codec Engine-specific additions are marked with the [CE] tag.# [CE] define EXAMPLES_ROOTDIR to point to root of <CE/examples> directoryEXAMPLES_ROOTDIR := $(CURDIR)/../../../../../../../..# [CE] include the file that defines paths to XDC packages and XDC toolsinclude $(EXAMPLES_ROOTDIR)/xdcpaths.mak# [CE] add the examples repository to the package path.# This is necessary because this application's configuration uses the codecs# in the examples repositoryXDC_PATH := $(EXAMPLES_ROOTDIR);$(XDC_PATH)# The compiler path and name are read from xdcpaths.mak aboveCGTOOLS = $(CGTOOLS_MVARM9)# compilerCC = $(CGTOOLS)/$(CC_MVARM9)# [CE] Configuro settings.  CONFIGPKG is the basename of your application's# config scriptCONFIGPKG = ceapp# [CE] Name the xdc target and platformXDCTARGET = gnu.targets.MVArm9XDCPLATFORM = ti.platforms.evmDM6446# [CE] configuro-generated filesCOMPILER_FILE = $(CONFIGPKG)/compiler.optLINKER_FILE = $(CONFIGPKG)/linker.cmd# [CE] The path to the configuro utilityCONFIGURO = XDCPATH="$(XDC_PATH)" $(XDC_INSTALL_DIR)/xs xdc.tools.configuro# [CE] Augment the standard $(CPPFLAGS) variable, adding the# Configuro-generated compiler file.CPPFLAGS +=  $(shell cat $(COMPILER_FILE)) -g -Wall -Os# final executableall: app.out# [CE] The generated linker and compiler files depend on the generated# config package$(LINKER_FILE) $(COMPILER_FILE) : $(CONFIGPKG).cfg	$(CONFIGURO) -c $(CGTOOLS) -o $(CONFIGPKG) \		-t $(XDCTARGET) -p $(XDCPLATFORM) \		$(CONFIGPKG).cfg# "normal" makefile settings and rules follow, with some additions for CE# This app consists of the main, codec-engine unrelated main.c file, and# the codec-engine-using app.c file.%.o : %.c $(COMPILER_FILE)	$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<# app.out, in addition to its standard stuff, must specify the# auto-generated $(LINKER_FILE)app.out: app.o ceapp.o $(LINKER_FILE)	$(CC) -o $@ $^ -lpthread# clean ruleclean:	rm -rf app.out *.o $(CONFIGPKG)##  @(#) ti.sdo.ce.examples.apps.video_copy.dualcpu.evmDM6446; 1, 0, 0,55; 1-14-2008 09:51:44; /db/atree/library/trees/ce-g30x/src/#

⌨️ 快捷键说明

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