############################################################################### # Sound Pipeline (SP) Makefile # # Copyright (C)1998-2006 Nintendo All Rights Reserved. # # These coded instructions, statements, and computer programs contain # proprietary information of Nintendo of America Inc. and/or Nintendo # Company Ltd., and are protected by Federal copyright law. They may # not be disclosed to third parties or copied or duplicated in any form, # in whole or in part, without the prior written consent of Nintendo. # # $Log: makefile,v $ # Revision 1.4 2006/01/31 07:13:02 aka # Changed copyright. # # Revision 1.3 11/16/2005 08:27:49 yasuh-to # Changed path of configuration file. # # Revision 1.2 07/07/2005 11:57:58 yasuh-to # Changed from NNGC_XXX to REVOLUTION_XXX. # # Revision 1.1.1.1 2005/05/12 02:15:50 yasuh-to # Imported from Dolphin tree. # # 1 8/15/01 11:16a Billyjack # created # ############################################################################### # All modules have "setup" and "build" as targets. System libraries # and demo programs also have an "install" target that copies the compiled # binaries to the binary tree (/revolution/$(ARCH_TARGET)). all: setup build install # commondefs must be included near the top so that all common variables # will be defined before their use. include $(REVOLUTION_SDK_ROOT)/build/buildtools/commondefs # MODULENAME should be set to the name of this subdirectory MODULENAME = sp # This indicates to commondefs/modulerules as to where this directory is # The selectable paths are restricted to limit the number of subtrees # that are added to the Revolution tree. LIB = TRUE ############################################################################### # Library building # LIBNAME specifies the name of the library. No suffix is required, as # that will depend on whether this is a DEBUG build or not. # The final name of the library will be $(LIBNAME)$(LIBSUFFIX) LIBNAME = sp # CLIBSRCS specifies all C files that are built and linked into the library. # ASMLIBSRCS are all assembly files that will be built and linked into the lib. CLIBSRCS = sp.c # modulerules contains the rules that will use the above variables # and dependencies below to construct the library and binaries specified. include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules