#! make -f #---------------------------------------------------------------------------- # Project: TwlSDK - demos - el - simple-1 # File: Makefile # # Copyright 2007-2008 Nintendo. All rights reserved. # # These coded instructions, statements, and computer programs contain # proprietary information of Nintendo of America Inc. and/or Nintendo # Company Ltd., and are protected by Federal copyright law. They may # not be disclosed to third parties or copied or duplicated in any form, # in whole or in part, without the prior written consent of Nintendo. # # $Date:: 2008-09-18#$ # $Rev: 8573 $ # $Author: okubata_ryoma $ #---------------------------------------------------------------------------- TARGET_PLATFORM := TWL TARGET_BIN = main.srl TARGET_NEF = main.tef SRCS = main.c staticsymlist.c DATA_DIR = ./data LINCLUDES = ../simple-1_dllA/include LDIRT_CLEAN = data/dllA$(TWL_LIBSUFFIX).a data/dllA_debug$(TWL_LIBSUFFIX).a staticsymlist.c ROM_SPEC = main.rsf include $(TWLSDK_ROOT)/build/buildtools/commondefs CCFLAGS += -DLIBSUFFIX="'$(TWL_LIBSUFFIX)'" GINCLUDES += \ $(ROOT)/include/twl \ $(ROOT)/include/twl/el \ #---------------------------------------------------------------------------- SUBDIRS = #---------------------------------------------------------------------------- #SRCDIR = # using default #LCFILE = # using default #---------------------------------------------------------------------------- do-build: $(TARGETS) include $(TWLSDK_ROOT)/build/buildtools/modulerules staticsymlist.c: $(OBJDIR)/main.o $(MAKELST) -o staticsymlist.c --static $(OBJDIR)/main.o $(call empath,$(TWL_LIBDIR)/libos$(TWL_LIBSUFFIX).a) --dll $(DATA_DIR)/dllA.a #===== End of Makefile =====