1###############################################################################
2# Makefile for demo library
3#
4# Copyright 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.4  2006/01/07 06:49:14  hirose
14#  Reconstruction from simpler form. Deleted DEMOStats.
15#
16#  Revision 1.3  2005/11/16 08:27:40  yasuh-to
17#  changed the macro indicating the path to the settings file
18#
19#  Revision 1.2  2005/07/07 11:57:50  yasuh-to
20#  changed environment variables from NNGC* to REVOLUTION*
21#
22#  Revision 1.1.1.1  2005/05/12 02:15:48  yasuh-to
23#  Ported from dolphin sheath tree.
24#
25#  $NoKeywords: $
26###############################################################################
27
28##################################
29# QUICK START INSTRUCTIONS
30# Type "make" at /dolphin/build/libraries/demo to build DEBUG version
31# of the demo library
32# Type "make NDEBUG=TRUE" to build OPTIMIZED versions of the demo library
33#
34# To add more sources to a library
35# 1. add the .c files to CLIBSRCS
36##################################
37
38
39# All modules have "setup" and "build" as targets.  System libraries
40# and demo programs also have an "install" target that copies the compiled
41# binaries to the binary tree (/dolphin/$(ARCH_TARGET)).
42all: 	setup build 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# module name should be set to the name of this subdirectory
49# LIB = TRUE indicates that this module resides under the "libraries" subtree.
50# The list of selectable paths can be found in modulerules.
51MODULENAME  = demo
52LIB	        = TRUE
53
54# LIBNAME specifies the name of the library.  No suffix is required, as
55# that will depend on whether this is a DEBUG build or not.
56# The final name of the library will be $(LIBNAME)$(LIBSUFFIX)
57LIBNAME     = demo
58
59# CLIBSRCS specifies all C files that are built and linked into the library.
60CLIBSRCS    = DEMOInit.c DEMOPuts.c DEMOFont.c DEMOPad.c DEMOWin.c DEMOAVX.c
61
62# modulerules contains the rules that will use the above variables
63# to construct the library specified.
64include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules
65
66