head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2006.03.27.00.23.01;	author yama;	state Exp;
branches;
next	1.1;

1.1
date	2006.03.13.02.23.57;	author yama;	state Exp;
branches;
next	;


desc
@@


1.2
log
@*** empty log message ***
@
text
@#! make -f
#----------------------------------------------------------------------------
# Project:  g[i[OtBbN
# File:     Makefile
#
# Copyright 2005 GameFreak.inc  All rights reserved.
#
#----------------------------------------------------------------------------

SUBDIRS		=

NCGFILES:=$(wildcard *.ncg)
NCLFILES:=$(wildcard *.ncl)

CP_RES_DIR = q:\\trgra\\
RES_DIR	= .

include	$(NITROSDK_ROOT)/build/buildtools/commondefs.cctype.CW
include	$(NITROSYSTEM_ROOT)/build/buildtools/commondefs

#MakeŐ*.bin/*.narcmake clean̍폜Ώۂɂ
LDIRT_CLEAN	= *.NCBR *.NCLR trfgra.narc trbgra.narc

#----------------------------------------------------------------------------

include	$(NITROSYSTEM_ROOT)/build/buildtools/modulerules

.SUFFIXES:.ncg.ncl.NCBR.NCLR

do-build:res_cp
res_cp:
	xcopy /d /y $(CP_RES_DIR)*.ncg $(RES_DIR)
	xcopy /d /y $(CP_RES_DIR)*.ncl $(RES_DIR)
	xcopy /d /y $(CP_RES_DIR)*.scr $(RES_DIR)

do-build: $(NCGFILES:.ncg=.NCBR)
%.NCBR: %.ncg
	ncgcnv $< 0

do-build: $(NCLFILES:.ncl=.NCLR)
%.NCLR: %.ncl
	nclcnv $<

do-build: trfgra.narc
trfgra.narc: $(TRGRA:.ncg=.NCBR) $(TRGRA:.ncl=.NCLR) arctrf.scr
	nnsarc -c -l -n -i trfgra.narc -S arctrf.scr

do-build: trbgra.narc
trbgra.narc: $(TRGRA:.ncg=.NCBR) $(TRGRA:.ncl=.NCLR) arctrb.scr
	nnsarc -c -l -n -i trbgra.narc -S arctrb.scr

@


1.1
log
@init
@
text
@d15 3
d30 6
d45 2
a46 2
trfgra.narc: $(TRGRA:.ncg=.NCBR) $(TRGRA:.ncl=.NCLR) arctrf.lst
	nnsarc -c -l -n -i trfgra.narc -S arctrf.lst
d49 2
a50 2
trbgra.narc: $(TRGRA:.ncg=.NCBR) $(TRGRA:.ncl=.NCLR) arctrb.lst
	nnsarc -c -l -n -i trbgra.narc -S arctrb.lst
@

