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-16 05:55:00 +01:00
|
|
|
all: setup brainage kirby mariokartds sfcommand sm64ds yoshids zeldaph brainage.zip kirby.zip mariokartds.zip sfcommand.zip sm64ds.zip yoshids.zip zeldaph.zip
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-14 00:18:10 +01:00
|
|
|
brainage: setup_brainage brainage.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
2016-11-15 01:49:12 +01:00
|
|
|
kirby: setup_kirby kirby.nds
|
|
|
|
|
|
|
|
mariokartds: setup_mariokartds mariokartds.nds
|
|
|
|
|
|
|
|
sfcommand: setup_sfcommand sfcommand.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
2016-11-16 05:55:00 +01:00
|
|
|
sm64ds: setup_sm64ds sm64ds.nds
|
|
|
|
|
2016-11-14 00:18:10 +01:00
|
|
|
yoshids: setup_yoshids yoshids.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
2016-11-15 01:49:12 +01:00
|
|
|
zeldaph: setup_zeldaph zeldaph.nds
|
|
|
|
|
2016-11-14 00:18:10 +01:00
|
|
|
setup:
|
|
|
|
@cd option_select && make && cd ..
|
2016-11-11 06:47:56 +01:00
|
|
|
@cd hbl_loader && make && cd ..
|
2016-11-14 00:18:10 +01:00
|
|
|
@cd cfw_booter && make && cd ..
|
|
|
|
|
|
|
|
setup_brainage:
|
|
|
|
@rm -f defines.s haxchi_rop.bin haxchi_rop_hook.bin
|
2016-11-11 06:47:56 +01:00
|
|
|
@cp -f brainage_defs.s defines.s
|
|
|
|
|
|
|
|
setup_kirby:
|
2016-11-14 00:18:10 +01:00
|
|
|
@rm -f defines.s haxchi_rop.bin haxchi_rop_hook.bin
|
2016-11-11 06:47:56 +01:00
|
|
|
@cp -f kirby_defs.s defines.s
|
|
|
|
|
2016-11-15 01:49:12 +01:00
|
|
|
setup_mariokartds:
|
|
|
|
@rm -f defines.s haxchi_rop.bin haxchi_rop_hook.bin
|
|
|
|
@cp -f mariokartds_defs.s defines.s
|
|
|
|
|
|
|
|
setup_sfcommand:
|
|
|
|
@rm -f defines.s haxchi_rop.bin haxchi_rop_hook.bin
|
|
|
|
@cp -f sfcommand_defs.s defines.s
|
|
|
|
|
2016-11-16 05:55:00 +01:00
|
|
|
setup_sm64ds:
|
|
|
|
@rm -f defines.s haxchi_rop.bin haxchi_rop_hook.bin
|
|
|
|
@cp -f sm64ds_defs.s defines.s
|
|
|
|
|
2016-11-11 06:47:56 +01:00
|
|
|
setup_yoshids:
|
2016-11-14 00:18:10 +01:00
|
|
|
@rm -f defines.s haxchi_rop.bin haxchi_rop_hook.bin
|
2016-11-12 03:29:35 +01:00
|
|
|
@cp -f yoshids_defs.s defines.s
|
|
|
|
|
2016-11-15 01:49:12 +01:00
|
|
|
setup_zeldaph:
|
|
|
|
@rm -f defines.s haxchi_rop.bin haxchi_rop_hook.bin
|
|
|
|
@cp -f zeldaph_defs.s defines.s
|
|
|
|
|
2016-11-11 06:47:56 +01:00
|
|
|
brainage.nds:
|
2016-11-14 00:18:10 +01:00
|
|
|
@armips haxchi_rop.s
|
|
|
|
@armips haxchi.s
|
|
|
|
@mv rom.nds brainage.nds
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-11 06:47:56 +01:00
|
|
|
kirby.nds:
|
2016-11-14 00:18:10 +01:00
|
|
|
@armips haxchi_rop.s
|
|
|
|
@armips haxchi.s
|
|
|
|
@mv rom.nds kirby.nds
|
2016-11-11 06:47:56 +01:00
|
|
|
|
2016-11-15 01:49:12 +01:00
|
|
|
mariokartds.nds:
|
2016-11-14 00:18:10 +01:00
|
|
|
@armips haxchi_rop.s
|
|
|
|
@armips haxchi.s
|
2016-11-15 01:49:12 +01:00
|
|
|
@mv rom.nds mariokartds.nds
|
|
|
|
@cp mariokartds.nds newsmb.nds
|
2016-11-12 03:29:35 +01:00
|
|
|
|
2016-11-15 01:49:12 +01:00
|
|
|
sfcommand.nds:
|
2016-11-14 00:18:10 +01:00
|
|
|
@armips haxchi_rop.s
|
|
|
|
@armips haxchi.s
|
2016-11-15 01:49:12 +01:00
|
|
|
@mv rom.nds sfcommand.nds
|
2016-11-12 03:29:35 +01:00
|
|
|
|
2016-11-16 05:55:00 +01:00
|
|
|
sm64ds.nds:
|
|
|
|
@armips haxchi_rop.s
|
|
|
|
@armips haxchi.s
|
|
|
|
@mv rom.nds sm64ds.nds
|
|
|
|
|
2016-11-15 01:49:12 +01:00
|
|
|
yoshids.nds:
|
2016-11-14 00:18:10 +01:00
|
|
|
@armips haxchi_rop.s
|
|
|
|
@armips haxchi.s
|
2016-11-15 01:49:12 +01:00
|
|
|
@mv rom.nds yoshids.nds
|
|
|
|
@cp yoshids.nds wwtouched.nds
|
2016-11-12 03:29:35 +01:00
|
|
|
|
2016-11-15 01:49:12 +01:00
|
|
|
zeldaph.nds:
|
2016-11-14 00:18:10 +01:00
|
|
|
@armips haxchi_rop.s
|
|
|
|
@armips haxchi.s
|
2016-11-15 01:49:12 +01:00
|
|
|
@mv rom.nds zeldaph.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
|
|
|
|
2016-11-15 01:49:12 +01:00
|
|
|
mariokartds.zip:
|
|
|
|
$(ZIP) -JXjq9 mariokartds.zip mariokartds.nds
|
|
|
|
$(ZIP) -JXjq9 newsmb.zip newsmb.nds
|
|
|
|
|
|
|
|
sfcommand.zip:
|
|
|
|
$(ZIP) -JXjq9 sfcommand.zip sfcommand.nds
|
|
|
|
|
2016-11-16 05:55:00 +01:00
|
|
|
sm64ds.zip:
|
|
|
|
$(ZIP) -JXjq9 sm64ds.zip sm64ds.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-15 01:49:12 +01:00
|
|
|
zeldaph.zip:
|
|
|
|
$(ZIP) -JXjq9 zeldaph.zip zeldaph.nds
|
|
|
|
|
2016-11-07 02:11:18 +01:00
|
|
|
clean:
|
2016-11-16 05:55:00 +01:00
|
|
|
@rm -f *.bin defines.s brainage.nds brainage.zip kirby.nds kirby.zip mariokartds.nds mariokartds.zip newsmb.nds newsmb.zip \
|
|
|
|
sfcommand.nds sfcommand.zip sm64ds.nds sm64ds.zip wwtouched.nds wwtouched.zip yoshids.nds yoshids.zip zeldaph.nds zeldaph.zip
|
2016-11-14 00:18:10 +01:00
|
|
|
@cd option_select && make clean && cd ..
|
2016-11-10 04:52:25 +01:00
|
|
|
@cd hbl_loader && make clean && cd ..
|
2016-11-14 00:18:10 +01:00
|
|
|
@cd cfw_booter && make clean && cd ..
|
2016-11-07 02:11:18 +01:00
|
|
|
@echo "all cleaned up !"
|