1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - demos - OS - forChina-fs 4# File: Makefile 5# 6# Copyright 2005-2009 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-05-28#$ 15# $Rev: 10641 $ 16# $Author: mizutani_nakaba $ 17#---------------------------------------------------------------------------- 18TARGET_PLATFORM = TWL NITRO 19 20SUBDIRS = 21 22#---------------------------------------------------------------------------- 23 24TARGET_BIN = main.srl 25SRCS = main.c 26 27# Override implementation of the OS_ShowAttentionChina function to load various constant data using FS 28# 29SRCS += os_china_override.c 30MAKEROM_ROMROOT = $(TWLSDK_ROOT)/data/for_china 31MAKEROM_ROMFILES = * 32 33include $(TWLSDK_ROOT)/build/buildtools/commondefs 34include $(TWLSDK_ROOT)/build/buildtools/commondefs.gx.demolib 35 36ifeq ($(TARGET_PLATFORM),TWL) 37ROM_SPEC = forChina.TWL.rsf 38else 39ROM_SPEC = forChina.rsf 40endif 41 42#---------------------------------------------------------------------------- 43 44do-build: $(TARGETS) 45 46include $(TWLSDK_ROOT)/build/buildtools/modulerules 47 48 49#===== End of Makefile ===== 50