############################################################################### # Makefile for G2D library # # Copyright 1998, 1999 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.3 2005/11/16 08:27:42 yasuh-to # changed the macro indicating the path to the settings file # # Revision 1.2 2005/07/07 11:57:45 yasuh-to # changed environment variables from NNGC* to REVOLUTION* # # Revision 1.1.1.1 2005/05/12 02:15:49 yasuh-to # Ported from dolphin sheath tree. # # # 1 99/12/09 12:30p Paul # $NoKeywords: $ ############################################################################### ################################## # QUICK START INSTRUCTIONS # Type "make" at /dolphin/build/libraries/demo to build DEBUG version # of the demo library # Type "make NDEBUG=TRUE" to build OPTIMIZED versions of the demo library # # To add more sources to a library # 1. add the .c files to CLIBSRCS ################################## # 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 (/dolphin/$(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 # LIB = TRUE indicates that this module resides under the "libraries" subtree. # The list of selectable paths can be found in modulerules. MODULENAME = G2D LIB = TRUE # LIBNAME specifies the name of the library. No suffix is required, as # that will depend on whether this is a DEBUG build or not. # The final name of the library will be $(LIBNAME)$(LIBSUFFIX) LIBNAME = G2D # CLIBSRCS specifies all C files that are built and linked into the library. CLIBSRCS = G2D.c # modulerules contains the rules that will use the above variables # to construct the library specified. include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules