############################################################################### # Makefile for gd # # Copyright 2001 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 11/16/2005 08:27:42 yasuh-to # changed the macro indicating the path to the settings file # # Revision 1.2 07/07/2005 11:57:52 yasuh-to # changed environment variables from NNGC* to REVOLUTION* # # Revision 1.1.1.1 2005/05/12 02:15:49 yasuh-to # transitioned from the Dolphin source tree # # # 3 03/02/12 9:43 Hirose # Added GDIndirect.c. # # 2 11/21/01 4:46p Hirose # Added host side build script. # # 1 9/12/01 1:57p Carl # Initial revision of GD: Graphics Display List Library. # $NoKeywords: $ ############################################################################### ifdef X86 # build host library all: buildhost clean: cleanhost else # build and install library for GC hardware all: setup build install endif ifdef X86 buildhost: @echo ===========Build host library============== @./buildscript @echo =========================================== cleanhost: @echo ===========Clean up host library=========== @./buildscript /CLEAN @echo =========================================== endif # module name should be set to the name of this subdirectory MODULENAME = gd LIB = TRUE LIBNAME = gd include $(REVOLUTION_SDK_ROOT)/build/buildtools/commondefs ifdef EPPC CLIBSRCS = GDBase.c \ GDFile.c \ GDGeometry.c \ GDIndirect.c \ GDLight.c \ GDPixel.c \ GDTev.c \ GDTexture.c \ GDTransform.c endif # This must come after all variables have been defined include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules