1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - buildsetup - pch 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#---------------------------------------------------------------------------- 18 19TARGET_PLATFORM = TWL NITRO 20NITRO_CODEGEN ?= ALL 21TWL_CODEGEN ?= ALL 22TWL_ARCHGEN ?= ALL 23 24include $(TWLSDK_ROOT)/build/buildtools/commondefs 25 26#---------------------------------------------------------------------------- 27ifdef MAKE_PCH_TWL_BUILD_TYPE 28 29export TWL_BUILD_TYPE = $(MAKE_PCH_TWL_BUILD_TYPE) 30SUBDIRS_P = $(GSUBDIRS) 31override SKIP_SUBDIR = 32 33else 34 35do-build: 36 @+$(MAKE) MAKE_PCH_TWL_BUILD_TYPE=DEBUG 37 @+$(MAKE) MAKE_PCH_TWL_BUILD_TYPE=RELEASE 38 @+$(MAKE) MAKE_PCH_TWL_BUILD_TYPE=FINALROM 39 40endif 41 42#---------------------------------------------------------------------------- 43 44include $(TWLSDK_ROOT)/build/buildtools/modulerules 45 46#===== End of Makefile ===== 47