1############################################################################### 2# Sound Pipeline (SP) Makefile 3# 4# Copyright (C)1998-2006 Nintendo All Rights Reserved. 5# 6# These coded instructions, statements, and computer programs contain 7# proprietary information of Nintendo of America Inc. and/or Nintendo 8# Company Ltd., and are protected by Federal copyright law. They may 9# not be disclosed to third parties or copied or duplicated in any form, 10# in whole or in part, without the prior written consent of Nintendo. 11# 12# $Log: makefile,v $ 13# Revision 1.5 2008/09/05 09:46:06 nrs_buildsystem 14# Changed all command to adopt "make -j option(parallel processing)" (by yasuh-to). 15# 16# Revision 1.4 2006/01/31 07:13:02 aka 17# Changed copyright. 18# 19# Revision 1.3 2005/11/16 08:27:49 yasuh-to 20# Changed path of configuration file. 21# 22# Revision 1.2 2005/07/07 11:57:58 yasuh-to 23# Changed from NNGC_XXX to REVOLUTION_XXX. 24# 25# Revision 1.1.1.1 2005/05/12 02:15:50 yasuh-to 26# Imported from Dolphin tree. 27# 28# 1 8/15/01 11:16a Billyjack 29# created 30# 31############################################################################### 32 33# All modules have "setup" and "build" as targets. System libraries 34# and demo programs also have an "install" target that copies the compiled 35# binaries to the binary tree (/revolution/$(ARCH_TARGET)). 36all: 37 $(MAKE) setup 38 $(MAKE) build 39 $(MAKE) install 40 41# commondefs must be included near the top so that all common variables 42# will be defined before their use. 43include $(REVOLUTION_SDK_ROOT)/build/buildtools/commondefs 44 45# MODULENAME should be set to the name of this subdirectory 46MODULENAME = sp 47 48# This indicates to commondefs/modulerules as to where this directory is 49# The selectable paths are restricted to limit the number of subtrees 50# that are added to the Revolution tree. 51LIB = TRUE 52 53 54############################################################################### 55# Library building 56# LIBNAME specifies the name of the library. No suffix is required, as 57# that will depend on whether this is a DEBUG build or not. 58# The final name of the library will be $(LIBNAME)$(LIBSUFFIX) 59LIBNAME = sp 60 61# CLIBSRCS specifies all C files that are built and linked into the library. 62# ASMLIBSRCS are all assembly files that will be built and linked into the lib. 63CLIBSRCS = sp.c 64 65# modulerules contains the rules that will use the above variables 66# and dependencies below to construct the library and binaries specified. 67include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules 68 69