1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - WM - demos - wmPadRead-child 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 19SUBDIRS = 20 21#---------------------------------------------------------------------------- 22# This only runs on NITRO 23TARGET_PLATFORM := NITRO 24 25INCDIR = ./include 26SRCDIR = ./src 27 28SRCS = main.c data.c tpdata.c 29 30WH_DIR = $(ROOT)/build/demos/wireless_shared/wh 31SRCDIR += $(WH_DIR) 32INCDIR += $(WH_DIR) 33SRCS += $(WH_DIR)/wh.c 34MACRO_FLAGS += -DSHARED_WH 35 36TARGET_BIN = wmPadRead.srl 37 38#SRCDIR = # using default 39#LCFILE = # using default 40 41include $(TWLSDK_ROOT)/build/buildtools/commondefs 42 43 44#---------------------------------------------------------------------------- 45 46do-build: $(TARGETS) 47 48 49include $(TWLSDK_ROOT)/build/buildtools/modulerules 50 51 52#===== End of Makefile ===== 53