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.5  07/19/2006 07:52:07  aka
14# Added remote.c.
15#
16# Revision 1.4  02/01/2006 02:09:33  aka
17# Changed copyright.
18#
19# Revision 1.3  11/16/2005 08:27:45  yasuh-to
20# Changed path of configuration file.
21#
22# Revision 1.2  07/07/2005 11:57:54  yasuh-to
23# Changed from NNGC_XXX to REVOLUTION_XXX.
24#
25# Revision 1.1.1.1  2005/05/12 02:15:49  yasuh-to
26# Imported from Dolphin tree.
27#
28#   1     5/09/01 1:12p 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: 	setup build install
37
38# commondefs must be included near the top so that all common variables
39# will be defined before their use.
40include $(REVOLUTION_SDK_ROOT)/build/buildtools/commondefs
41
42# MODULENAME should be set to the name of this subdirectory
43MODULENAME	= mix
44
45# This indicates to commondefs/modulerules as to where this directory is
46# The selectable paths are restricted to limit the number of subtrees
47# that are added to the Revolution tree.
48LIB		= TRUE
49
50
51###############################################################################
52# Library building
53# LIBNAME specifies the name of the library.  No suffix is required, as
54# that will depend on whether this is a DEBUG build or not.
55# The final name of the library will be $(LIBNAME)$(LIBSUFFIX)
56LIBNAME		= mix
57
58# CLIBSRCS specifies all C files that are built and linked into the library.
59# ASMLIBSRCS are all assembly files that will be built and linked into the lib.
60CLIBSRCS	= mix.c remote.c
61
62# modulerules contains the rules that will use the above variables
63# and dependencies below to construct the library and binaries specified.
64include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules
65