############################################################################### # 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 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:52 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. # # # 3 2003/02/12 9:43 Hirose # Added GDIndirect.c. # # 2 2001/11/21 4:46p Hirose # Added host side build script. # # 1 2001/09/12 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