1############################################################################### 2# Makefile for KPAD Library 3# 4# Copyright 2005-2006 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############################################################################### 13 14# All modules have "setup" and "build" as targets. System libraries 15# and demo programs also have an "install" target that copies the compiled 16# binaries to the binary tree (/$(ARCH_TARGET)). 17all: setup build install 18 19 20# commondefs must be included near the top so that all common variables 21# will be defined before their use. 22include $(REVOLUTION_SDK_ROOT)/build/buildtools/commondefs 23 24# module name should be set to the name of this subdirectory 25MODULENAME = kpad 26 27# This indicates to commondefs/modulerules as to where this directory is 28# The selectable paths are restricted to limit the number of subtrees 29# that are added to the SDK tree. 30LIB = TRUE 31 32# Library building 33# LIBNAME specifies the name of the library. No suffix is required, as 34# that will depend on whether this is a DEBUG build or not. 35# The final name of the library will be $(LIBNAME)$(LIBSUFFIX) 36LIBNAME = kpad 37 38# CLIBSRCS/CPPLIBSRCS specifies all C/C++ files that are built and linked into 39# the library. 40# ASMLIBSRCS are all assembly files that will be built and linked into the lib. 41CLIBSRCS = KPAD.c 42 43# OBJECTS_ONLY_ROOT = hogeobj/$(ARCH_TARGET)/$(BUILD_TARGET) 44# OBJECTS_ONLY = hoge.o 45# LIBOBJECTS = $(addprefix $(OBJECTS_ONLY_ROOT)/, $(OBJECTS_ONLY)) 46 47# modulerules contains the rules that will use the above variables 48# and dependencies below to construct the library and binaries specified. 49include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules 50