1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - demos - FS - overlay-staticinit 4# File: Makefile 5# 6# Copyright 2007-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-09-18 #$ 15# $Rev: 8573 $ 16# $Author: okubata_ryoma $ 17#---------------------------------------------------------------------------- 18TARGET_PLATFORM = TWL NITRO 19 20SUBDIRS = 21 22BASEDIR = $(ROOT)/build/demos/fs/overlay-staticinit 23SRCDIR = $(BASEDIR)/src 24INCDIR = $(BASEDIR)/include 25 26#---------------------------------------------------------------------------- 27 28TWL_PROC := ARM9 29TARGET_BIN = main.srl 30TWL_COMPRESS = TRUE 31 32SRCS = main.c 33SRCS_OVERLAY = top_menu.c mode_1.c mode_2.c mode_3.c 34 35include $(TWLSDK_ROOT)/build/buildtools/commondefs 36include $(TWLSDK_ROOT)/build/buildtools/commondefs.gx.demolib 37 38ifeq ($(TARGET_PLATFORM),TWL) 39LCFILE_SPEC = $(BASEDIR)/ARM9.TWL-TS.lsf 40else 41LCFILE_SPEC = $(BASEDIR)/ARM9-TS.lsf 42endif 43 44#---------------------------------------------------------------------------- 45 46do-build: $(TARGETS) 47 48include $(TWLSDK_ROOT)/build/buildtools/modulerules 49 50#===== End of Makefile ===== 51