mirror of
https://github.com/rvtr/TwlIPL_commit-99.git
synced 2025-10-31 06:21:11 -04:00
55 lines
1.7 KiB
Makefile
Executable File
55 lines
1.7 KiB
Makefile
Executable File
#! make -f
|
|
#----------------------------------------------------------------------------
|
|
# Project: NITRO-System - demos - g3d - samples - SeparateTex
|
|
# File: Makefile
|
|
#
|
|
# Copyright 2004-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.
|
|
#
|
|
# $Revision: 299 $
|
|
#----------------------------------------------------------------------------
|
|
|
|
NNS_USELIBS = g3d gfd fnd
|
|
|
|
G3D_DEMOLIB = $(NITROSYSTEM_G3D_ROOT)/build/demos/g3d/demolib
|
|
|
|
LINCLUDES = $(G3D_DEMOLIB)/include
|
|
LLIBRARY_DIRS = $(G3D_DEMOLIB)/lib/$(NITRO_BUILDTYPE)
|
|
LLIBRARIES = libg3d_demo.a
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
SUBDIRS =
|
|
|
|
SRCS = main.c
|
|
TARGET_BIN = main.srl
|
|
|
|
MAKEROM_ROMROOT = ./
|
|
MAKEROM_ROMFILES = data/*.*
|
|
|
|
#----------------------------------------------------------------------------
|
|
include $(NITROSYSTEM_ROOT)/build/buildtools/commondefs
|
|
|
|
|
|
do-build: $(TARGETS)
|
|
$(TARGETS): mdlData texData
|
|
|
|
mdlData:
|
|
$(NITROSYSTEM_TOOLSDIR)/bin/g3dcvtr.exe data/src/human_run_t.imd -emdl -o data/human_run_t.nsbmd
|
|
texData:
|
|
$(NITROSYSTEM_TOOLSDIR)/bin/g3dcvtr.exe data/src/human_run_t.imd -etex -o data/human_run_t.nsbtx
|
|
|
|
|
|
include $(NITROSYSTEM_ROOT)/build/buildtools/modulerules
|
|
|
|
|
|
#===== End of Makefile =====
|