############################################################################### # Makefile for mpdl demo # # Copyright 2006 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. # # $Id: makefile,v 1.10 2007/05/14 11:37:17 hatamoto_minoru Exp $ ############################################################################### all: install include $(REVOLUTION_EXT_ROOT)/build/buildtools/commondefs include $(REVOLUTION_EXT_ROOT)/build/demos/share/commondefs.demoshare MODULENAME = mpdldemo DEMO = TRUE REX_NETDEMO = TRUE LCF_FILE = $(INC_ROOT)/revolution/eppc.$(ARCH_TARGET).lcf CSRCS = mpdlsimple.c mpdlntr2rvl.c # DS program registration information has become a requirement with RevoEX1.0plus and later versions. CSRCS += registration.c src/registration.c: $(wildcard $(REVOLUTION_EXT_ROOT)/build/demos/mpdldemo/dvddata/*.srl) $(REVOLUTION_EXT_ROOT)/X86/bin/regds.exe -o $@ $^ BINNAMES = mpdlsimple mpdlntr2rvl REX_DVDROOT = $$(REVOLUTION_EXT_ROOT)/build/demos/mpdldemo/dvddata include $(REVOLUTION_EXT_ROOT)/build/buildtools/modulerules include $(REVOLUTION_EXT_ROOT)/build/demos/share/modulerules.demoshare $(FULLBIN_ROOT)/mpdlsimple$(BINSUFFIX): mpdlsimple.o registration.o $(REX_DEMOSHARE_OBJS) $(REVOLUTION_LIBS) $(REX_LIBS) $(FULLBIN_ROOT)/mpdlntr2rvl$(BINSUFFIX): mpdlntr2rvl.o registration.o $(REX_DEMOSHARE_OBJS) $(REVOLUTION_LIBS) $(REX_LIBS) #======== End of makefile ========#