1############################################################################### 2# Mixer application for AX (MIX) 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.6 2008/09/05 09:45:07 nrs_buildsystem 14# Changed all command to adopt "make -j option(parallel processing)" (by yasuh-to). 15# 16# Revision 1.5 2006/07/19 07:52:07 aka 17# Added remote.c. 18# 19# Revision 1.4 2006/02/01 02:09:33 aka 20# Changed copyright. 21# 22# Revision 1.3 2005/11/16 08:27:45 yasuh-to 23# Changed path of configuration file. 24# 25# Revision 1.2 2005/07/07 11:57:54 yasuh-to 26# Changed from NNGC_XXX to REVOLUTION_XXX. 27# 28# Revision 1.1.1.1 2005/05/12 02:15:49 yasuh-to 29# Imported from Dolphin tree. 30# 31# 1 5/09/01 1:12p Billyjack 32# created 33# 34############################################################################### 35 36# All modules have "setup" and "build" as targets. System libraries 37# and demo programs also have an "install" target that copies the compiled 38# binaries to the binary tree (/revolution/$(ARCH_TARGET)). 39all: 40 $(MAKE) setup 41 $(MAKE) build 42 $(MAKE) install 43 44# commondefs must be included near the top so that all common variables 45# will be defined before their use. 46include $(REVOLUTION_SDK_ROOT)/build/buildtools/commondefs 47 48# MODULENAME should be set to the name of this subdirectory 49MODULENAME = mix 50 51# This indicates to commondefs/modulerules as to where this directory is 52# The selectable paths are restricted to limit the number of subtrees 53# that are added to the Revolution tree. 54LIB = TRUE 55 56 57############################################################################### 58# Library building 59# LIBNAME specifies the name of the library. No suffix is required, as 60# that will depend on whether this is a DEBUG build or not. 61# The final name of the library will be $(LIBNAME)$(LIBSUFFIX) 62LIBNAME = mix 63 64# CLIBSRCS specifies all C files that are built and linked into the library. 65# ASMLIBSRCS are all assembly files that will be built and linked into the lib. 66CLIBSRCS = mix.c remote.c 67 68# modulerules contains the rules that will use the above variables 69# and dependencies below to construct the library and binaries specified. 70include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules 71