1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - WM - demos - wep-1 4# File: Makefile 5# 6# Copyright 2005-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:: $ 15# $Rev:$ 16# $Author:$ 17#---------------------------------------------------------------------------- 18 19SUBDIRS = 20 21#---------------------------------------------------------------------------- 22TARGET_PLATFORM = TWL NITRO 23 24INCDIR = ./include 25SRCDIR = ./src 26SRCS = \ 27 main.c \ 28 print.c \ 29 key.c \ 30 graphics.c \ 31 font.c \ 32 menu.c \ 33 icon.c 34 35WH_DIR = $(ROOT)/build/demos/wireless_shared/wh 36SRCDIR += $(WH_DIR) 37INCDIR += $(WH_DIR) 38SRCS += $(WH_DIR)/wh.c 39MACRO_FLAGS += -DSHARED_WH 40 41TARGET_BIN = main.srl 42 43include $(TWLSDK_ROOT)/build/buildtools/commondefs 44 45#---------------------------------------------------------------------------- 46 47do-build: $(TARGETS) 48 49include $(TWLSDK_ROOT)/build/buildtools/modulerules 50 51#===== End of Makefile ===== 52