1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - libraries - gx 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#---------------------------------------------------------------------------- 22override TARGET_PLATFORM = NITRO 23 24NITRO_CODEGEN ?= ALL 25NITRO_PROC = ARM9 26 27SRCDIR = src 28INCDIR = include 29 30SRCS = gx.c g2.c g3.c g3_util.c g3b.c g3c.c g3imm.c g3x.c \ 31 gx_bgcnt.c gx_load2d.c gx_load3d.c gx_vramcnt.c gxasm.c gxstate.c 32 33TARGET_LIB = libgx$(NITRO_LIBSUFFIX).a 34 35#---------------------------------------------------------------------------- 36include $(TWLSDK_ROOT)/build/buildtools/commondefs 37 38INSTALL_TARGETS = $(TARGETS) 39INSTALL_DIR = $(NITRO_INSTALL_LIBDIR) 40 41#---------------------------------------------------------------------------- 42do-build: $(TARGETS) 43 44include $(TWLSDK_ROOT)/build/buildtools/modulerules 45 46#===== End of Makefile ===== 47