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


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

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


desc
@@


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

SUBDIRS		=

POKEGRA:=$(wildcard *_m.ncg)
POKECOL:=$(wildcard *_n.ncl)

CP_RES_DIR = q:\\pokegra\\
RES_DIR	= .

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

#MakeŐ*.bin/*.narcmake clean̍폜Ώۂɂ
LDIRT_CLEAN	= $(POKEGRA:.ncg=.NCBR) $(POKECOL:.ncl=.NCLR) pokegra.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: $(POKEGRA:.ncg=.NCBR)
%.NCBR: %.ncg
	pmncgcnv $< mfratio.scr

do-build: $(POKECOL:.ncl=.NCLR)
%.NCLR: %.ncl
	pmnclcnv $<

do-build: pokegra.narc
pokegra.narc: $(POKEGRA:.ncg=.NCBR) $(POKECOL:.ncl=.NCLR)
	nnsarc -c -l -n -i pokegra.narc -S pokegra.scr
	touch -c ../poke_tool.c
	
do-build: height.narc
height.narc: $(POKEGRA:.ncg=.bin)
	nnsarc -c -l -n height.narc -S height.scr
@


1.1
log
@init
@
text
@d50 1
a50 1
height.narc: *.bin
@

