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