1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - demos - wvr - switchover 4# File: Makefile 5# 6# Copyright 2005-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:: 2008-12-22#$ 15# $Rev: 9714 $ 16# $Author: okubata_ryoma $ 17#---------------------------------------------------------------------------- 18 19TARGET_PLATFORM := NITRO 20 21SRCS = main.c font.c wireless_main.c graphic_main.c 22 23LLIBRARIES = libwvr$(NITRO_LIBSUFFIX).a 24 25# Use wc sample module 26WH_DIR = $(ROOT)/build/demos/wireless_shared/wh 27SRCS += $(WH_DIR)/wh.c 28LINCLUDES = $(WH_DIR) 29 30#------------------------------------------------------# 31# Component definition where the wireless library is positioned inside VRAM # 32MY_COMPONENT_NAME = ichneumon 33MAKEROM_ARM7 = $(NITRO_COMPONENTSDIR)/$(MY_COMPONENT_NAME)/$(NITRO_BUILDTYPE_ARM7)/$(MY_COMPONENT_NAME)_sub.$(NITRO_ELF_EXT) 34#------------------------------------------------------# 35 36TARGET_BIN = main.srl 37 38include $(TWLSDK_ROOT)/build/buildtools/commondefs 39 40#---------------------------------------------------------------------------- 41 42do-build: $(TARGETS) 43 44#---------------------------------------------------------------------------- 45 46include $(TWLSDK_ROOT)/build/buildtools/modulerules 47 48#===== End of Makefile ===== 49