############################################################################### # Makefile for axdemo # # 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.7 06/08/2006 08:16:41 aka # Modified for new AXFX made by Kawamura-san (EAD). # # Revision 1.6 02/02/2006 02:44:39 aka # Revised comment. # # Revision 1.5 02/01/2006 04:36:03 aka # Changed copyright. # # Revision 1.4 01/06/2006 07:13:11 hiratsu # changed LCF file path. # # Revision 1.3 11/16/2005 08:28:28 yasuh-to # Changed path of configuration file. # # Revision 1.2 11/04/2005 05:17:15 aka # Modified for Revolution. # # Revision 1.1 2005/11/04 05:01:08 aka # Imported from Dolphin tree. # ############################################################################### ################################## # QUICK START INSTRUCTIONS # Type "make" at /revolution/build/tests/audio to build DEBUG versions of all tests. # Type "make NDEBUG=TRUE" to build OPTIMIZED versions of all tests # Type "make lit-test00D.bin" to build DEBUG version of just lit-test00 # Type "make NDEBUG=TRUE lit-test00.bin" to build OPTIMIZED version of # ju ctable paths can be found in modulerules. # just lit-test00 # # To add another test # 1. add the .c files to CSRCS to make sure they are built # 2. add the binary name (no suffix) to BINNAMES # 3. add a dependency rule for this executable at the bottom of this file ################################## # 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 # module name should be set to the name of this subdirectory # DEMO = TRUE indicates that this module resides under the "demos" subtree. # The list of selectable paths can be found in modulerules. MODULENAME = axdemo DEMO = TRUE # CSRCS lists all C files that should be built # The makefile determines which objects are linked into which binaries # based on the dependencies you fill in at the bottom of this file CSRCS = axstream.c \ axsimple.c \ syndemo.c \ seqdemo.c \ compressor.c \ axart3ddemo.c \ dpl2demo.c \ dpl2reverb.c \ axfilter.c \ expchorus.c \ expchorusDpl2.c \ expdelay.c \ expdelayDpl2.c \ expreverbStd.c \ expreverbStdDpl2.c \ expreverbHi.c \ expreverbHiDpl2.c \ fxbussend.c \ fxbussendDpl2.c # BINNAMES lists all binaries that will be linked. Note that no suffix is # required, as that will depend on whether this is a DEBUG build or not. # The final name of the binaries will be $(BINNAME)$(BINSUFFIX) BINNAMES = axstream \ axsimple \ syndemo \ seqdemo \ compressor \ axart3ddemo \ dpl2demo \ dpl2reverb \ axfilter \ expchorus \ expchorusDpl2 \ expdelay \ expdelayDpl2 \ expreverbStd \ expreverbStdDpl2 \ expreverbHi \ expreverbHiDpl2 \ fxbussendDpl2 \ fxbussend # defining a linker command file will have the build system generate it # automatically and include it on the linker invocation line LCF_FILE = $(INC_ROOT)/revolution/eppc.$(ARCH_TARGET).lcf # modulerules contains the rules that will use the above variables # and dependencies below to construct the binaries specified. include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules # Dependencies for the binaries listed in BINNAMES should come here # They are your typical makefile rule, with extra variables to ensure # that the names and paths match up. # $(FULLBIN_ROOT) is the location of the local bin directory # $(BINSUFFIX) depends on whether this is a debug build or not # $(REVOLUTION_LIBS) includes all the Revolution libraries. $(FULLBIN_ROOT)/axstream$(BINSUFFIX): axstream.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/axsimple$(BINSUFFIX): axsimple.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/syndemo$(BINSUFFIX): syndemo.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/seqdemo$(BINSUFFIX): seqdemo.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/compressor$(BINSUFFIX): compressor.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/axart3ddemo$(BINSUFFIX):axart3ddemo.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/dpl2demo$(BINSUFFIX): dpl2demo.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/dpl2reverb$(BINSUFFIX): dpl2reverb.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/axfilter$(BINSUFFIX): axfilter.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/expchorus$(BINSUFFIX): expchorus.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/expchorusDpl2$(BINSUFFIX): expchorusDpl2.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/expdelay$(BINSUFFIX): expdelay.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/expdelayDpl2$(BINSUFFIX): expdelayDpl2.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/expreverbStd$(BINSUFFIX): expreverbStd.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/expreverbStdDpl2$(BINSUFFIX): expreverbStdDpl2.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/expreverbHi$(BINSUFFIX): expreverbHi.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/expreverbHiDpl2$(BINSUFFIX): expreverbHiDpl2.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/fxbussend$(BINSUFFIX): fxbussend.o \ $(REVOLUTION_LIBS) $(FULLBIN_ROOT)/fxbussendDpl2$(BINSUFFIX): fxbussendDpl2.o \ $(REVOLUTION_LIBS) #======== End of makefile ========#