1###############################################################################
2# Makefile for G2D library
3#
4# Copyright 1998, 1999 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  2008/09/05 09:42:46  nrs_buildsystem
14#  Changed all commands to adopt "make -j option(parallel processing)" (by yasuh-to).
15#
16#  Revision 1.3  2005/11/16 08:27:42  yasuh-to
17#  changed the macro indicating the path to the settings file
18#
19#  Revision 1.2  2005/07/07 11:57:45  yasuh-to
20#  changed environment variables from NNGC* to REVOLUTION*
21#
22#  Revision 1.1.1.1  2005/05/12 02:15:49  yasuh-to
23#  Ported from dolphin sheath tree.
24#
25#
26#   1     99/12/09 12:30p Paul
27#  $NoKeywords: $
28###############################################################################
29
30##################################
31# QUICK START INSTRUCTIONS
32# Type "make" at /dolphin/build/libraries/demo to build DEBUG version
33# of the demo library
34# Type "make NDEBUG=TRUE" to build OPTIMIZED versions of the demo library
35#
36# To add more sources to a library
37# 1. add the .c files to CLIBSRCS
38##################################
39
40
41# All modules have "setup" and "build" as targets.  System libraries
42# and demo programs also have an "install" target that copies the compiled
43# binaries to the binary tree (/dolphin/$(ARCH_TARGET)).
44all:
45	$(MAKE) setup
46	$(MAKE) build
47	$(MAKE) install
48
49# commondefs must be included near the top so that all common variables
50# will be defined before their use.
51include $(REVOLUTION_SDK_ROOT)/build/buildtools/commondefs
52
53# module name should be set to the name of this subdirectory
54# LIB = TRUE indicates that this module resides under the "libraries" subtree.
55# The list of selectable paths can be found in modulerules.
56MODULENAME  = G2D
57LIB	    = TRUE
58
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     = G2D
63
64# CLIBSRCS specifies all C files that are built and linked into the library.
65CLIBSRCS    = G2D.c
66
67# modulerules contains the rules that will use the above variables
68# to construct the library specified.
69include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules
70