head	1.2;
access;
symbols
	imatake-080904-PostmanFixFunction:1.2
	imatake-080425-KoreanDemoBeta:1.2
	MASTER_ADAK00_APAK00-DemoVersion-branch:1.2.0.10
	imatake-080421-HangulCompressRate:1.2
	MASTER_ADAK00_APAK00:1.2
	KR-071218:1.2
	KR-071217:1.2
	KR-071214:1.2
	KR-071213:1.2
	KR-071212:1.2
	KR-071211:1.2
	KR-071210:1.2
	KR-071207:1.2
	KR-071206:1.2
	KR-071205:1.2
	KR-071203:1.2
	KR-071129:1.2
	KR-071126:1.2
	KR-071122:1.2
	KR-071119:1.2
	KR-071115:1.2
	KR-071114:1.2
	KR-071112:1.2
	KR-071109:1.2
	KR-071108:1.2
	KR-071105:1.2
	KR-071101:1.2
	KR-071031:1.2
	KR-071029:1.2
	KR-071026:1.2
	KR-071024:1.2
	KR-071022:1.2
	KR-071018:1.2
	KR-071017:1.2
	KR-071015:1.2
	imatake-071015-BTProfileSetting:1.2
	KR-071012:1.2
	imatake-071012-GTSProfileSetting:1.2
	KR-071011:1.2
	KR-071009:1.2
	KR-070926:1.2
	KR-070925:1.2
	imatake-070920-KoreanMonthsInNumber:1.2
	imatake-070920-RedNamesFixed:1.2
	KR-070918:1.2
	imatake-070913-NakayamanGraphicsReflected:1.2
	imatake-070912-ParticleInsertingFixed:1.2
	imatake-070911-ParticleParamsAvailable:1.2
	imatake-070911-GraphicTextComplete:1.2
	imatake-070907-NakayamanGraphicsReflected:1.2
	imatake-070904-KoreanMysteryGift:1.2
	imatake-070903-MissingFilesAdded:1.2
	imatake-070903-KoreanFriendWiFiSeparated:1.2
	imatake-070729-KoreanInputPaletteModified:1.2
	imatake-070822-LivingPlaceAutoRegistration:1.2
	imatake-070808-KoreanHeaderAndGgid:1.2
	imatake-070801-HangulFontUpdated:1.2
	imatake-070725-GFFixRefrected:1.2
	imatake-070724-ForeignPokedexExtended:1.2
	imatake-070723-HangulInputRenewal:1.2
	KR-070720:1.2
	KR-070627:1.2
	MASTER_ADAP00_APAP00_ADAP50_APAP50:1.2
	MASTER_ADAD01_APAD01_ADAD51_APAD51:1.2
	MASTER_ADAF01_APAF01_ADAF51_APAF51:1.2
	MASTER_ADAI00_APAI00_ADAI50_APAI50:1.2
	MASTER_ADAS00_APAS00_ADAS50_APAS50:1.2
	yamamoto-070604-message-toNOE0604:1.2
	EU-070604:1.2
	EU-070531:1.2
	EU-070521:1.2
	yamamoto-070521-message-fromNOE0521:1.2
	EU-070517:1.2
	yamamoto-070517-message-fromNOE0517:1.2
	EU-070516:1.2
	yamamoto-070516-message-fromNOE0516:1.2
	EU-070514:1.2
	yamamoto-070514-message-fromNOE0514:1.2
	EU-070511:1.2
	yamamoto-070511-message-fromNOE0511:1.2
	UK-070510:1.2
	EU-070510:1.2
	yamamoto-070510-message-fromNOE0510:1.2
	EU-070507:1.2
	yamamoto-070507-message-fromNOE0507:1.2
	EU-070501:1.2
	yamamoto-070501-message-fromNOE0501:1.2
	EU-070426:1.2
	yamamoto-070426-message-fromNOE0426:1.2
	EU-070424:1.2
	EU-070423:1.2
	yamamoto-070423-message-fromNOE0423-modify:1.2
	UK-070423:1.2
	EU-070418:1.2
	yamamoto-070417-message-fromNOE0416:1.2
	EU-070416:1.2
	EU-070413:1.2
	EU-070412:1.2
	yamamoto-070412-message-fromNOE0412-modify:1.2
	EU-070406:1.2
	yamamoto-070406-message-fromNOE0406-modify:1.2
	UK-070405:1.2
	UK_base-branch:1.2.0.8
	UK_base:1.2
	EU-070404:1.2
	EU-070402:1.2
	yamamoto-070402-message-fromNOE0402-modify:1.2
	EU-070329:1.2
	EU-070328:1.2
	yamamoto-070326-message-fromNOE0326:1.2
	EU-070326:1.2
	yamamoto-070322-message-fromNOE0322:1.2
	EU-070322:1.2
	yamamoto-070322-message-fromNOE0320-modify:1.2
	EU-070320:1.2
	yamamoto-070315-message-fromNOE0315:1.2
	EU-070315:1.2
	US-070315:1.2
	MASTER_ADAE00_APAE00_ADAE50_APAE50-branch:1.2.0.6
	EU-070312:1.2
	yamamoto-070312-message-fromNOE0312-modify:1.2
	MASTER_ADAE00_APAE00_ADAE50_APAE50:1.2
	EU-070308:1.2
	yamamoto-070308-message-fromNOE0221-modify:1.2
	EU-070301:1.2
	imatake-070228-UKEnglishSupported:1.2
	MASTER_Y23E00:1.2
	US-070226:1.2
	US-070223:1.2
	US-070222:1.2
	converter_release_50:1.2
	converter_release_49:1.2
	converter_release_48:1.2
	converter_release_47:1.2
	US-070221:1.2
	converter_release_46:1.2
	yamamoto-070221-message-DP0221:1.2
	US-070220:1.2
	yamamoto-070219-message-DP0219-modify:1.2
	US-070219:1.2
	converter_release_45:1.2
	US-070216:1.2
	yamamoto-070216-message-DP0215:1.2
	US-070215:1.2
	yamamoto-070215-message-DP0214:1.2
	converter_release_44:1.2
	US-070214:1.2
	imatake-070214-ForMCCheckBeforeAuth:1.2
	US-070213:1.2
	converter_release_43:1.2
	yamamoto-070213-message-DP0213-modify:1.2
	imatake-070213-HeaderResourceRestructed:1.2
	converter_release_42:1.2
	US-070210:1.2
	US-070209:1.2
	converter_release_41:1.2
	yamamoto-070209-message-DP0209-modify:1.2
	imatake-070209-TrialVersionCommitted:1.2
	US-070207:1.2
	yamamoto-070207-message-DP0207-modify:1.2
	yamamoto-070206-message-euro-send:1.2
	US-070206:1.2
	US-070205:1.2
	yamamoto-070205-message-euro-send:1.2
	yamamoto-070205-message-DP0205-modify:1.2
	converter_release_40:1.2
	US-070201:1.2
	converter_release_39:1.2
	yamamoto-070129-message-euro-send:1.2
	yamamoto-070129-message-DP0129-modify:1.2
	US-070129:1.2
	converter_release_38:1.2
	converter_release_37:1.2
	converter_release_36:1.2
	US-070124:1.2
	converter_release_35:1.2
	converter_release_34:1.2
	yamamoto-070123-message-euro-send:1.2
	US-070123:1.2
	converter_release_33:1.2
	yamamoto-070122-message-DP0122-modify:1.2
	converter_release_32:1.2
	US-070119:1.2
	converter_release_31:1.2
	US-070118_ASSERT:1.2
	US-070118:1.2
	converter_release_30:1.2
	US-070117:1.2
	US-070116:1.2
	converter_release_29:1.2
	yamamoto-070115-message-euro-merge-DP0115-modify:1.2
	US-070115:1.2
	yamamoto-070115-message-DP0115-modify:1.2
	US-070112:1.2
	US-070111:1.2
	converter_release_28:1.2
	US-070110:1.2
	US-070109:1.2
	yamamoto-070109-message-DP0109-ExcelOnly:1.2
	converter_release_27:1.2
	US-070105:1.2
	converter_release_26:1.2
	US-061229:1.2
	yamamoto-061229-message-DP1228:1.2
	converter_release_25:1.2
	US-061228:1.2
	yamamoto_working_system:1.2
	converter_release_24:1.2
	US-061227:1.2
	US-061226:1.2
	US-061225:1.2
	US-061220:1.2
	converter_release_23:1.2
	US-061219:1.2
	converter_release_22:1.2
	US-061218:1.2
	yamamoto-061215-message-DP1215:1.2
	US-061214:1.2
	converter_release_21:1.2
	converter_release_20:1.2
	yamamoto-061212-message-DP1213:1.2
	yamamoto-061212-message-DP1212:1.2
	US-061212:1.2
	converter_release_19:1.2
	yamamoto-061211-message-DP1211_fixed:1.2
	US-061208:1.2
	converter_release_18:1.2
	US-061207:1.2
	converter_release_17:1.2
	imatake-061207-CompressedStrbufSupported:1.2
	converter_release_16:1.2
	US-061206:1.2
	US-061205:1.2
	converter_release_15:1.2
	GMM_USA00_20061204:1.2
	US-061204:1.2
	kinashi-061204-message-DP1204:1.2
	imatake-061204-JPVer10Patched:1.2
	converter_release_14:1.2
	US-061201:1.2
	imatake-061201-GraphicArchivesCommitted:1.2
	converter_release_13:1.2
	converter_release_12:1.2
	converter_release_11:1.2
	converter_release_10:1.2
	converter_release_9:1.2
	imatake-061129-UGNameIndefinateAdded:1.2
	converter_release_8:1.2
	imatake-061128-ReportWindowFixed:1.2
	converter_release_7:1.2
	imatake-061127-PearlMakeBugFixed:1.2
	converter_release_6:1.2
	yamamoto-061127-message-Test1127:1.2
	kinashi-061127-message-Test1127:1.2
	imatake-061124-NumberPaddingFixed:1.2
	imatake-061124-IntroLayoutFixed:1.2
	imatake-061124-SphereDebugAdded:1.2
	imatake-061124-BerryInchSize:1.2
	converter_release_5:1.2
	imatake-061124-PluralOrIndefinateItemName:1.2
	imatake-061122-BagLayoutModified:1.2
	converter_release_4:1.2
	converter_release_3:1.2
	converter_release_2:1.2
	imatake-061120-PokedexLayoutModified:1.2
	kinashi-061120-message-Test1117:1.2
	converter_release_1:1.2
	imatake-061114-PressStartCentered:1.2
	imatake-061114-NameEntryUnderbarMoved:1.2
	imatake-061114-WiFiSettingGlobalized:1.2
	imatake-061107-911EncountRemoved:1.2
	imatake-061031-GGIDLocalized:1.2
	imatake-061031-SwampRDashImproved:1.2
	imatake-061013-SingularOrPluralItemName:1.2
	imatake-061013-AGBStrConversionFixed:1.2
	imatake-061012-AgbCommModified:1.2
	imatake-061012-NicknameFlagSwitchAdded:1.2
	imatake-061012-libVCT110Accepted:1.2
	imatake-061012-RomHeaderSwitchingAdded:1.2
	imatake-061006-ForeignPokedexModified:1.2
	imatake-061004-RomSizeAndNameEntryModified:1.2
	imatake-061002-MarumiXLinkageFixed:1.2
	imatake-060919-MarumiXAutoloadFixed:1.2
	imatake-060915-WifiAndMarumiXSwitch:1.2
	japanese_version_20060816:1.2
	marge-20060717_branch:1.2.0.4
	marge-20060717:1.2
	marge-20060712_branch_true:1.2.0.2
	marge-20060712_branch:1.1.0.6
	marge-20060712:1.2
	marge-20060630_branch:1.1.0.4
	marge-20060630:1.1
	marge-20060623_branch:1.1.0.2
	marge-20060623:1.1;
locks; strict;
comment	@# @;


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

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


desc
@@


1.2
log
@*** empty log message ***
@
text
@#! make -f
#----------------------------------------------------------------------------
# Project:  ZGtFNg
# File:     Makefile
#
# Copyright 2005 GameFreak.inc  All rights reserved.
#
#----------------------------------------------------------------------------
DP_ROOT	=	../..

SUBDIRS		=

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

include	sourcefile.lst

#----------------------------------------------------------------------------
#	b\[XoCiϊ\ɂ邽߂̐ݒ
#----------------------------------------------------------------------------
include	$(NITROSDK_ROOT)/build/buildtools/commondefs.cctype.CW
include	$(NITROSYSTEM_ROOT)/build/buildtools/commondefs

#ʕϐ`
include $(DP_ROOT)/commondefs.GF

include	$(NITROSYSTEM_ROOT)/build/buildtools/modulerules

#--------------------------------------------------------------
#	
#--------------------------------------------------------------
LDIRT_CLEAN	= pokezukan.narc $(CONVSRCS:.dat=.bin)

LINCLUDES		= $(NITROSDK_ROOT)/include
LINCLUDES		+= $(DP_ROOT)/src/field

LINCLUDES	+= $(dir $<)

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


#--------------------------------------------------------------
#	
#--------------------------------------------------------------
#c[`
ELF2BIN	=	$(DP_ROOT)/convert/eventdata/celf2bin.exe
LISTMK		= $(DP_ROOT)/convert/eventdata/listmk.exe



#-------------------------------
#	s
#		\[XRs[
#		\[XA[JCu
#		ZGtFNgA[JCu
#-------------------------------

do-build: res_cp
res_cp:
	xcopy /d /y $(CP_RES_DIR)pokezukan.dat $(RES_DIR)
	xcopy /d /y $(CP_RES_DIR)pokezukan.txt $(RES_DIR)

do-build: pokezukan.bin
pokezukan.bin: pokezukan.dat
	echo "#include \"$(NITROSDK_ROOT)/include/nitro/types.h\"" > temp.c
	cat pokezukan.dat >> temp.c
	$(CC) $(CCFLAGS) $(INCLUDES)  -c temp.c -MD -o pokezukan.o
	$(MWLD) -dis -o pokezukan.elf pokezukan.o
	$(ELF2BIN) pokezukan.elf
	-rm pokezukan.o temp.c temp.d
	-rm pokezukan.elf

do-build: shinzukan.bin
shinzukan.bin: pokezukan.txt
	shincnv pokezukan.txt shinzukan.dat
	echo "#include \"$(NITROSDK_ROOT)/include/nitro/types.h\"" > temp.c
	cat shinzukan.dat >> temp.c
	$(CC) $(CCFLAGS) $(INCLUDES)  -c temp.c -MD -o shinzukan.o
	$(MWLD) -dis -o shinzukan.elf shinzukan.o
	$(ELF2BIN) shinzukan.elf
	-rm shinzukan.o temp.c temp.d
	-rm shinzukan.elf

#----------- A[JCu -----------
do-build: pokezukan.narc
pokezukan.narc: pokezukan.bin
#	$(MAKE) mklst				#ꗗ쐬
#	$(MAKE) makebin				#b\[XoCiϊ
	$(MAKE) makearc				#A[JCuɂ܂Ƃ߂

do-build: shinzukan.narc
shinzukan.narc: shinzukan.bin
#	$(MAKE) mklst				#ꗗ쐬
#	$(MAKE) makebin				#b\[XoCiϊ
	$(MAKE) makearc				#A[JCuɂ܂Ƃ߂

#Ώۃ\[Xꗗ쐬
#mklst:
#	ls -1 *.dat > temp
#	$(LISTMK) temp sourcefile.lst CONVSRCS
#	rm temp

#b\[XoCiϊ
#makebin: $(CONVSRCS:.dat=.bin)

#A[JCu쐬
makearc:
	nnsarc -c -l -n -i pokezukan.narc pokezukan.bin
	nnsarc -c -l -n -i shinzukan.narc shinzukan.bin
#	nnsarc -i -c -l -n $(TARGET_ARC) *.bin > arc_result.txt
@


1.1
log
@*** empty log message ***
@
text
@d61 1
d64 1
a64 1
%.bin: %.dat
d66 17
a82 6
	cat $< >> temp.c
	$(CC) $(CCFLAGS) $(INCLUDES)  -c temp.c -MD -o $*.o
	$(MWLD) -dis -o $*.elf $*.o
	$(ELF2BIN) $*.elf
	-rm $*.o temp.c temp.d
	-rm $*.elf
d87 2
a88 2
	$(MAKE) mklst				#ꗗ쐬
	$(MAKE) makebin				#b\[XoCiϊ
d91 5
d98 4
a101 4
mklst:
	ls -1 *.dat > temp
	$(LISTMK) temp sourcefile.lst CONVSRCS
	rm temp
d104 1
a104 1
makebin: $(CONVSRCS:.dat=.bin)
d109 1
@

