2016-11-10 04:52:25 +01:00
|
|
|
.PHONY := all code550.bin
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-12 22:16:06 +01:00
|
|
|
ifeq ($(Windows_NT), 1)
|
|
|
|
ZIP = zip/zip.exe
|
|
|
|
else
|
|
|
|
ZIP = zip
|
|
|
|
endif
|
|
|
|
|
2016-11-12 03:29:35 +01:00
|
|
|
all: brainage kirby yoshids brainage.zip kirby.zip yoshids.zip brainage_cfw.zip kirby_cfw.zip yoshids_cfw.zip
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-12 03:29:35 +01:00
|
|
|
brainage: setup_brainage brainage.nds setup_brainage_cfw brainage_cfw.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
2016-11-12 03:29:35 +01:00
|
|
|
kirby: setup_kirby kirby.nds setup_kirby_cfw kirby_cfw.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
2016-11-12 03:29:35 +01:00
|
|
|
yoshids: setup_yoshids yoshids.nds setup_yoshids_cfw yoshids_cfw.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
|
|
|
setup_brainage:
|
|
|
|
rm -f *.bin
|
|
|
|
@cd hbl_loader && make && cd ..
|
|
|
|
@cp -f brainage_defs.s defines.s
|
|
|
|
|
|
|
|
setup_kirby:
|
|
|
|
rm -f *.bin
|
|
|
|
@cd hbl_loader && make && cd ..
|
|
|
|
@cp -f kirby_defs.s defines.s
|
|
|
|
|
|
|
|
setup_yoshids:
|
|
|
|
rm -f *.bin
|
2016-11-10 04:52:25 +01:00
|
|
|
@cd hbl_loader && make && cd ..
|
2016-11-11 06:47:56 +01:00
|
|
|
@cp -f yoshids_defs.s defines.s
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-12 03:29:35 +01:00
|
|
|
setup_brainage_cfw:
|
|
|
|
rm -f *.bin
|
|
|
|
@cd cfw_booter && make && cd ..
|
|
|
|
@cp -f brainage_defs.s defines.s
|
|
|
|
|
|
|
|
setup_kirby_cfw:
|
|
|
|
rm -f *.bin
|
|
|
|
@cd cfw_booter && make && cd ..
|
|
|
|
@cp -f kirby_defs.s defines.s
|
|
|
|
|
|
|
|
setup_yoshids_cfw:
|
|
|
|
rm -f *.bin
|
|
|
|
@cd cfw_booter && make && cd ..
|
|
|
|
@cp -f yoshids_defs.s defines.s
|
|
|
|
|
2016-11-11 06:47:56 +01:00
|
|
|
brainage.nds:
|
2016-11-07 02:11:18 +01:00
|
|
|
armips haxchi_rop.s
|
2016-11-11 06:47:56 +01:00
|
|
|
armips haxchi.s
|
2016-11-12 03:29:35 +01:00
|
|
|
mv rom.nds brainage.nds
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-11 06:47:56 +01:00
|
|
|
kirby.nds:
|
|
|
|
armips haxchi_rop.s
|
|
|
|
armips haxchi.s
|
2016-11-12 03:29:35 +01:00
|
|
|
mv rom.nds kirby.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
|
|
|
yoshids.nds:
|
|
|
|
armips haxchi_rop.s
|
2016-11-07 02:11:18 +01:00
|
|
|
armips haxchi.s
|
2016-11-12 03:29:35 +01:00
|
|
|
mv rom.nds yoshids.nds
|
2016-11-12 06:14:41 +01:00
|
|
|
cp yoshids.nds wwtouched.nds
|
2016-11-12 03:29:35 +01:00
|
|
|
|
|
|
|
brainage_cfw.nds:
|
|
|
|
armips haxchi_rop.s
|
|
|
|
armips haxchi.s
|
|
|
|
mv rom.nds brainage_cfw.nds
|
|
|
|
|
|
|
|
kirby_cfw.nds:
|
|
|
|
armips haxchi_rop.s
|
|
|
|
armips haxchi.s
|
|
|
|
mv rom.nds kirby_cfw.nds
|
|
|
|
|
|
|
|
yoshids_cfw.nds:
|
|
|
|
armips haxchi_rop.s
|
|
|
|
armips haxchi.s
|
|
|
|
mv rom.nds yoshids_cfw.nds
|
2016-11-12 06:14:41 +01:00
|
|
|
cp yoshids_cfw.nds wwtouched_cfw.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
|
|
|
brainage.zip:
|
2016-11-12 22:16:06 +01:00
|
|
|
$(ZIP) -JXjq9 brainage.zip brainage.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
|
|
|
kirby.zip:
|
2016-11-12 22:16:06 +01:00
|
|
|
$(ZIP) -JXjq9 kirby.zip kirby.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
|
|
|
yoshids.zip:
|
2016-11-12 22:16:06 +01:00
|
|
|
$(ZIP) -JXjq9 yoshids.zip yoshids.nds
|
|
|
|
$(ZIP) -JXjq9 wwtouched.zip wwtouched.nds
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-12 03:29:35 +01:00
|
|
|
brainage_cfw.zip:
|
2016-11-12 22:16:06 +01:00
|
|
|
$(ZIP) -JXjq9 brainage_cfw.zip brainage_cfw.nds
|
2016-11-12 03:29:35 +01:00
|
|
|
|
|
|
|
kirby_cfw.zip:
|
2016-11-12 22:16:06 +01:00
|
|
|
$(ZIP) -JXjq9 kirby_cfw.zip kirby_cfw.nds
|
2016-11-12 03:29:35 +01:00
|
|
|
|
|
|
|
yoshids_cfw.zip:
|
2016-11-12 22:16:06 +01:00
|
|
|
$(ZIP) -JXjq9 yoshids_cfw.zip yoshids_cfw.nds
|
|
|
|
$(ZIP) -JXjq9 wwtouched_cfw.zip wwtouched_cfw.nds
|
2016-11-12 03:29:35 +01:00
|
|
|
|
2016-11-07 02:11:18 +01:00
|
|
|
clean:
|
2016-11-12 06:14:41 +01:00
|
|
|
@rm -f *.bin defines.s brainage.nds brainage.zip kirby.nds kirby.zip wwtouched.nds wwtouched.zip yoshids.nds yoshids.zip
|
|
|
|
@rm -f brainage_cfw.nds brainage_cfw.zip kirby_cfw.nds kirby_cfw.zip wwtouched_cfw.nds wwtouched_cfw.zip yoshids_cfw.nds yoshids_cfw.zip
|
2016-11-12 03:29:35 +01:00
|
|
|
@cd cfw_booter && make clean && cd ..
|
2016-11-10 04:52:25 +01:00
|
|
|
@cd hbl_loader && make clean && cd ..
|
2016-11-07 02:11:18 +01:00
|
|
|
@echo "all cleaned up !"
|