mirror of
https://github.com/rvtr/twl_wrapsdk.git
synced 2025-10-31 06:11:10 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@290 4ee2a332-4b2b-5046-8439-1ba90f034370
90 lines
2.6 KiB
Makefile
90 lines
2.6 KiB
Makefile
#! make -f
|
|
#----------------------------------------------------------------------------
|
|
# Project: NitroSDK - libraries - spi
|
|
# File: Makefile
|
|
#
|
|
# Copyright 2003-2005 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.11 2005/03/06 23:52:59 terui
|
|
# Update copyright.
|
|
#
|
|
# Revision 1.10 2005/03/05 02:02:04 terui
|
|
# DEBUGビルド時にRELEASEビルドのコンパイルオプションでビルドされるように改造。
|
|
#
|
|
# Revision 1.9 2004/09/06 13:30:37 terui
|
|
# INCDIRをlibraries/spi/ARM7/includeを指すようにpath変更。
|
|
#
|
|
# Revision 1.8 2004/08/27 08:49:21 yasu
|
|
# Fix around NITRO_CODEGEN_ALL
|
|
#
|
|
# Revision 1.7 2004/08/25 06:03:47 yasu
|
|
# Add TS-Ptototype/200 to SUBDIRS
|
|
#
|
|
# Revision 1.6 2004/08/19 01:44:57 yasu
|
|
# Pick up common specifications into mic/Makefile
|
|
#
|
|
# Revision 1.5 2004/08/18 12:25:59 yasu
|
|
# Rename directory 000 -> 0
|
|
#
|
|
# Revision 1.4 2004/08/18 09:23:59 yasu
|
|
# Support NITRO_TS_VERSION=0 and 100.
|
|
#
|
|
# Revision 1.3 2004/07/14 14:12:07 yasu
|
|
# Change NITRO_CODEGEN=ALL -> NITRO_CODEGEN_ALL=True
|
|
#
|
|
# Revision 1.2 2004/07/14 11:52:57 yasu
|
|
# Build ARM & THUMB code always
|
|
#
|
|
# Revision 1.1 2004/05/25 01:07:40 terui
|
|
# MICライブラリをSPIライブラリから分離
|
|
#
|
|
# $NoKeywords: $
|
|
#----------------------------------------------------------------------------
|
|
|
|
#ifeq ($(NITRO_PLATFORM),TEG)
|
|
#SUBDIRS ?=
|
|
#else
|
|
#SUBDIRS ?= TS-Prototype/0 \
|
|
# TS-Prototype/100 \
|
|
# TS-Prototype/200
|
|
#endif
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
# build ARM & THUMB libraries
|
|
TWL_CODEGEN_ALL ?= True
|
|
|
|
TWL_PROC = ARM7
|
|
|
|
SRCDIR = $(TWL_NITROSDK_ROOT)/build/libraries/spi/ARM7/mic/src \
|
|
|
|
SRCS = mic_sp.c mic_sampling.c mic_irq.c
|
|
|
|
TARGET_LIB = libmic_sp$(TWL_LIBSUFFIX).a
|
|
|
|
INCDIR = ../include
|
|
INCDIR += $(TWL_NITROSDK_ROOT)/build/libraries/spi/ARM7/include
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
|
|
|
INSTALL_TARGETS = $(TARGETS)
|
|
INSTALL_DIR = $(TWL_INSTALL_LIBDIR)
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
do-build: $(TARGETS)
|
|
|
|
include $(TWLSDK_ROOT)/build/buildtools/modulerules
|
|
|
|
#===== End of Makefile =====
|