1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - demos - MI - uncompressStream-1 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-06-20#$ 15# $Rev: 6675 $ 16# $Author: nishimoto_takashi $ 17#---------------------------------------------------------------------------- 18 19SUBDIRS = 20 21 22#---------------------------------------------------------------------------- 23TARGET_PLATFORM = TWL NITRO 24 25SRCS = main.c 26TARGET_BIN = main.srl 27 28MAKEROM_ROMROOT = ./data 29MAKEROM_ROMFILES = *.srl 30 31include $(TWLSDK_ROOT)/build/buildtools/commondefs 32include $(TWLSDK_ROOT)/build/buildtools/commondefs.gx.demolib 33 34ifeq ($(TARGET_PLATFORM),TWL) 35ROM_SPEC = main.TWL.rsf 36else 37ROM_SPEC = main.rsf 38endif 39 40#---------------------------------------------------------------------------- 41test: 42 echo $(TWL_LIBSUFFIX) 43 echo $(NITRO_LIBSUFFIX) 44 45SUBDIRS = 46 47#---------------------------------------------------------------------------- 48 49do-build: $(TARGETS) 50 51#---------------------------------------------------------------------------- 52include $(TWLSDK_ROOT)/build/buildtools/modulerules 53 54#===== End of Makefile ===== 55