############################################################################### # Revolution Shared Object demo # # Copyright (C) 2001-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. # ############################################################################### ### Targets directory name TARGET_DIRS = LinkList LinkListFixed0 LinkMem2 LinkFar MakeInc Manually LinkJump ### Macro for execting sub dirs define EXECUTE_SUBDIRS @$(foreach SUBDIR, $(TARGET_DIRS), \ (cd $(SUBDIR) && $(MAKE) $(1));\ ) exit endef ### Targets all: $(call EXECUTE_SUBDIRS,$(@)) %: $(call EXECUTE_SUBDIRS,$(@))