1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - demos - wvr - with_mb - child 4# File: Makefile 5# 6# Copyright 2003-2008 Nintendo. All rights reserved. 7# 8# These coded instructions, statements, and computer programs contain 9# proprietary information of Nintendo of America Inc. and/or Nintendo 10# Company Ltd., and are protected by Federal copyright law. They may 11# not be disclosed to third parties or copied or duplicated in any form, 12# in whole or in part, without the prior written consent of Nintendo. 13# 14# $Date:: 2009-06-11#$ 15# $Rev: 10743 $ 16# $Author: okajima_manabu $ 17#---------------------------------------------------------------------------- 18 19TARGET_PLATFORM := NITRO 20 21INCDIR = ../common/include ./include 22SRCDIR = ./src ../common/src 23 24LLIBRARIES = libwvr$(TWL_LIBSUFFIX).a 25 26SRCS = main.c \ 27 font.c \ 28 disp.c \ 29 common.c \ 30 gmain.c 31 32# WH module was moved to wireless_shared 33WH_DIR = $(ROOT)/build/demos/wireless_shared/wh 34SRCDIR += $(WH_DIR) 35INCDIR += $(WH_DIR) 36SRCS += $(WH_DIR)/wh.c 37MACRO_FLAGS += -DSHARED_WH 38 39 40TARGET_BIN = child.srl 41 42#------------------------------------------------------# 43# Component definition where the wireless library is positioned inside VRAM # 44 45DEFAULT_COMP_ARM7 = ichneumon 46 47#------------------------------------------------------# 48 49include $(TWLSDK_ROOT)/build/buildtools/commondefs 50 51 52#-------------------------------# 53# Install target # 54#-------------------------------# 55INSTALL_TARGETS = $(TARGETS) 56 57INSTALL_DIR = ../data 58 59 60#---------------------------------------------------------------------------- 61 62do-build: $(TARGETS) 63 64include $(TWLSDK_ROOT)/build/buildtools/modulerules 65 66 67 68#===== End of Makefile ===== 69