1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - demos - MB 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-10-15#$ 15# $Rev: 8948 $ 16# $Author: nishimoto_takashi $ 17#---------------------------------------------------------------------------- 18 19SUBDIRS = 20 21#---------------------------------------------------------------------------- 22 23include ../make_common 24 25 26############################################################################### 27# Settings specific for parents 28 29SRCS += main.c parent.c multiboot.c 30 31# This sample uses the MBP module 32MBP_DIR = $(ROOT)/build/demos/wireless_shared/mbp 33LINCLUDES += $(MBP_DIR) 34SRCS += $(MBP_DIR)/mbp.c 35 36MAKEROM_ROMROOT = . 37MAKEROM_ROMFILES = ./data 38 39 40include $(TWLSDK_ROOT)/build/buildtools/commondefs 41 42#---------------------------------------------------------------------------- 43 44ifeq ($(TARGET_PLATFORM),TWL) 45LCFILE_SPEC = main.TWL.lsf 46else 47LCFILE_SPEC = main.lsf 48endif 49 50#---------------------------------------------------------------------------- 51 52do-build: $(TARGETS) 53 54include $(TWLSDK_ROOT)/build/buildtools/modulerules 55 56 57#===== End of Makefile ===== 58 59